You are here

static function ClassCallback::staticCallbackMethod 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::staticCallbackMethod()

Parameters

array $args:

File

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

Class

ClassCallback
Class used to test callbackpromise

Namespace

spec\Prophecy\Promise

Code

static function staticCallbackMethod($args) {
  return $args[0];
}