You are here

class ClassCallback in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/spec/Prophecy/Promise/CallbackPromiseSpec.php \spec\Prophecy\Promise\ClassCallback

Class used to test callbackpromise

Hierarchy

Expanded class hierarchy of ClassCallback

File

vendor/phpspec/prophecy/spec/Prophecy/Promise/CallbackPromiseSpec.php, line 82

Namespace

spec\Prophecy\Promise
View source
class ClassCallback {

  /**
   * @param array $args
   */
  function callbackMethod($args) {
    return $args[0];
  }

  /**
   * @param array $args
   */
  static function staticCallbackMethod($args) {
    return $args[0];
  }

}

Members