class MethodCallback in Zircon Profile 8
Same name and namespace in other branches
Hierarchy
- class \MethodCallback
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
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| MethodCallback:: | public | function | ||
| MethodCallback:: | public static | function | 
