This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
lnkohana/vendor/phpunit/phpunit-mock-objects/Tests/_files/MethodCallback.php

22 lines
370 B
PHP
Raw Normal View History

2013-04-22 04:09:50 +00:00
<?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';
}
}
}