PHP Class pthreads\Promisable

Inheritance: extends Threaded, implements pthreads\IPromisable
Mostrar archivo Open project: krakjoe/promises Class Usage Examples

Protected Properties

Property Type Description
$error
$state

Public Methods

Method Description
onFulfill ( )
run ( )

Protected Methods

Method Description
getError ( )
getState ( )
setState ( $state, $error = null )

Method Details

getError() protected method

protected getError ( )

getState() protected method

protected getState ( )

onFulfill() public method

public onFulfill ( )

run() public method

public run ( )

setState() protected method

protected setState ( $state, $error = null )

Property Details

$error protected_oe property

protected $error

$state protected_oe property

protected $state