A promise that has been rejected.
Thenning off of this promise will invoke the onRejected callback immediately and ignore other callbacks.
- final
CloneableInstantiable
Constants |
Methods |
public __construct( $reason)
|
public cancel() : void |
public getState() : string |
public otherwise(callable $onRejected) : GuzzleHttp |
public reject( $reason) : void |
public resolve( $value) : void |
public then(?callable $onFulfilled = NULL, ?callable $onRejected = NULL) : GuzzleHttp |
public wait(bool $unwrap = true) |
Properties |
private $reason = NULL |