A promise that has been rejected.

Thenning off of this promise will invoke the onRejected callback
immediately and ignore other callbacks.

CloneableInstantiable
ImplementsGuzzleHttp\Promise\PromiseInterface
Constants
public GuzzleHttp\Promise\PromiseInterface::FULFILLED = 'fulfilled'
public GuzzleHttp\Promise\PromiseInterface::PENDING = 'pending'
public GuzzleHttp\Promise\PromiseInterface::REJECTED = 'rejected'
Methods
public __construct( $reason)
public cancel()
public getState()
public otherwise(callable $onRejected)
public reject( $reason)
public resolve( $value)
public then(?callable $onFulfilled = NULL, ?callable $onRejected = NULL)
public wait( $unwrap = true, $defaultDelivery = NULL)
Properties
private $reason
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only