PHP Class Kraken\_Unit\Promise\_Bridge\DeferredBridge

Inheritance: implements Kraken\Promise\DeferredInterface
ファイルを表示 Open project: kraken-php/framework

Public Methods

Method Description
__construct ( callable[] $callbacks )
__destruct ( )
cancel ( $reason = null )
getPromise ( )
reject ( $reason = null )
resolve ( $value = null )

Method Details

__construct() public method

public __construct ( callable[] $callbacks )
$callbacks callable[]

__destruct() public method

public __destruct ( )

cancel() public method

public cancel ( $reason = null )

getPromise() public method

public getPromise ( )

reject() public method

public reject ( $reason = null )

resolve() public method

public resolve ( $value = null )