PHP Class pthreads\Promise

Inheritance: extends Promisable
Show file Open project: krakjoe/promises Class Usage Examples

Protected Properties

Property Type Description
$manager
$promised
$worker

Public Methods

Method Description
__construct ( $manager, Promisable $promised )
getManager ( )
getPromised ( $key = null )
getWorker ( )
then ( Thenable $thenable )

Method Details

__construct() public method

public __construct ( $manager, Promisable $promised )
$promised Promisable

getManager() public method

public getManager ( )

getPromised() public method

public getPromised ( $key = null )

getWorker() public method

public getWorker ( )

then() public method

public then ( Thenable $thenable )
$thenable Thenable

Property Details

$manager protected property

protected $manager

$promised protected property

protected $promised

$worker protected property

protected $worker