class MethodCallback

Hierarchy

Expanded class hierarchy of MethodCallback

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

File

drupal/core/vendor/phpunit/phpunit-mock-objects/Tests/_files/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