BBnepal-Accounts/hostel/vendor/phpunit/phpunit-mock-objects/tests/_fixture/MethodCallback.php

22 lines
360 B
PHP
Raw Normal View History

2024-07-10 12:43:19 +00:00
<?php
class MethodCallback
{
public static function staticCallback()
{
$args = func_get_args();
if ($args == ['foo', 'bar']) {
return 'pass';
}
}
public function nonStaticCallback()
{
$args = func_get_args();
if ($args == ['foo', 'bar']) {
return 'pass';
}
}
}