You are here

class MethodCallback in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit-mock-objects/tests/_fixture/MethodCallback.php \MethodCallback

Hierarchy

Expanded class hierarchy of MethodCallback

1 string reference to 'MethodCallback'
Framework_MockObjectTest::testStaticMethodCallback in vendor/phpunit/phpunit-mock-objects/tests/MockObjectTest.php

File

vendor/phpunit/phpunit-mock-objects/tests/_fixture/MethodCallback.php, line 2

View source
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';
    }
  }

}

Members