You are here

MethodCallback.php in Zircon Profile 8.0

File

vendor/phpunit/phpunit-mock-objects/tests/_fixture/MethodCallback.php
View source
<?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';
    }
  }

}

Classes

Namesort descending Description
MethodCallback