public function NotPromiseInstance::resolve in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/promises/tests/NotPromiseInstance.php \GuzzleHttp\Promise\Tests\NotPromiseInstance::resolve()
Resolve the promise with the given value.
Parameters
mixed $value:
Throws
\RuntimeException if the promise is already resolved.
Overrides Thennable::resolve
File
- vendor/
guzzlehttp/ promises/ tests/ NotPromiseInstance.php, line 26
Class
Namespace
GuzzleHttp\Promise\TestsCode
public function resolve($value) {
$this->nextPromise
->resolve($value);
}