public function ReturnPromise::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/src/Prophecy/Promise/ReturnPromise.php \Prophecy\Promise\ReturnPromise::__construct()
Initializes promise.
Parameters
array $returnValues Array of values:
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Promise/ ReturnPromise.php, line 31
Class
- ReturnPromise
- Return promise.
Namespace
Prophecy\PromiseCode
public function __construct(array $returnValues) {
$this->returnValues = $returnValues;
}