Kohana v3.3.0
This commit is contained in:
21
vendor/phpunit/phpunit-mock-objects/Tests/_files/MethodCallback.php
vendored
Normal file
21
vendor/phpunit/phpunit-mock-objects/Tests/_files/MethodCallback.php
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
class MethodCallback
|
||||
{
|
||||
public static function staticCallback()
|
||||
{
|
||||
$args = func_get_args();
|
||||
|
||||
if ($args == array('foo', 'bar')) {
|
||||
return 'pass';
|
||||
}
|
||||
}
|
||||
|
||||
public function nonStaticCallback()
|
||||
{
|
||||
$args = func_get_args();
|
||||
|
||||
if ($args == array('foo', 'bar')) {
|
||||
return 'pass';
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user