You are here

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

Parameters

array $args:

File

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

Class

ClassCallback
Class used to test callbackpromise

Namespace

spec\Prophecy\Promise

Code

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