public function MethodProphecy::getPromise in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/src/Prophecy/Prophecy/MethodProphecy.php \Prophecy\Prophecy\MethodProphecy::getPromise()
Returns currently registered promise.
Return value
null|Promise\PromiseInterface
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Prophecy/ MethodProphecy.php, line 373
Class
- MethodProphecy
- Method prophecy.
Namespace
Prophecy\ProphecyCode
public function getPromise() {
return $this->promise;
}