class ClassCallback in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/spec/Prophecy/Promise/CallbackPromiseSpec.php \spec\Prophecy\Promise\ClassCallback
Class used to test callbackpromise
Hierarchy
- class \spec\Prophecy\Promise\ClassCallback
Expanded class hierarchy of ClassCallback
File
- vendor/
phpspec/ prophecy/ spec/ Prophecy/ Promise/ CallbackPromiseSpec.php, line 82
Namespace
spec\Prophecy\PromiseView source
class ClassCallback {
/**
* @param array $args
*/
function callbackMethod($args) {
return $args[0];
}
/**
* @param array $args
*/
static function staticCallbackMethod($args) {
return $args[0];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ClassCallback:: |
function | |||
ClassCallback:: |
static | function |