PHP Class Http\Client\Promise\HttpRejectedPromise

Inheritance: implements Http\Promise\Promise
Afficher le fichier Open project: php-http/adapter

Méthodes publiques

Méthode Description
__construct ( Http\Client\Exception $exception )
getState ( )
then ( callable $onFulfilled = null, callable $onRejected = null )
wait ( $unwrap = true )

Method Details

__construct() public méthode

public __construct ( Http\Client\Exception $exception )
$exception Http\Client\Exception

getState() public méthode

public getState ( )

then() public méthode

public then ( callable $onFulfilled = null, callable $onRejected = null )
$onFulfilled callable
$onRejected callable

wait() public méthode

public wait ( $unwrap = true )