function PromiseInterface::execute
Evaluates promise.
Parameters
array<mixed> $args:
ObjectProphecy<object> $object:
MethodProphecy $method:
Return value
mixed
4 methods override PromiseInterface::execute()
- CallbackPromise::execute in vendor/
phpspec/ prophecy/ src/ Prophecy/ Promise/ CallbackPromise.php - Evaluates promise.
- ReturnArgumentPromise::execute in vendor/
phpspec/ prophecy/ src/ Prophecy/ Promise/ ReturnArgumentPromise.php - Evaluates promise.
- ReturnPromise::execute in vendor/
phpspec/ prophecy/ src/ Prophecy/ Promise/ ReturnPromise.php - Evaluates promise.
- ThrowPromise::execute in vendor/
phpspec/ prophecy/ src/ Prophecy/ Promise/ ThrowPromise.php - Evaluates promise.
File
-
vendor/
phpspec/ prophecy/ src/ Prophecy/ Promise/ PromiseInterface.php, line 34
Class
- PromiseInterface
- Promise interface. Promises are logical blocks, tied to `will...` keyword.
Namespace
Prophecy\PromiseCode
public function execute(array $args, ObjectProphecy $object, MethodProphecy $method);