PHP Class Future, zys

Exibir arquivo Open project: qieangel2013/zys Class Usage Examples

Public Properties

Property Type Description
$reason
$state
$value

Public Methods

Method Description
__call ( $method, $args )
__construct ( $computation = NULL )
__get ( $key )
always ( $oncomplete )
catchError ( $onreject, $test = NULL )
complete ( $oncomplete )
done ( $onfulfill, $onreject = NULL )
each ( $callback )
every ( $callback )
fail ( $onreject )
fill ( $future )
filter ( $callback, $preserveKeys = false )
includes ( $searchElement, $strict = false )
inspect ( )
map ( $callback )
reduce ( $callback, $initial = NULL )
reject ( $reason )
resolve ( $value )
search ( $searchElement, $strict = false )
some ( $callback )
spread ( $onfulfilledArray )
tap ( $onfulfilledSideEffect )
then ( $onfulfill, $onreject = NULL )
whenComplete ( $action )

Private Methods

Method Description
privateCall ( $callback, $next, $x )
privateReject ( $onreject, $next, $e )
privateResolve ( $onfulfill, $next, $x )

Method Details

__call() public method

public __call ( $method, $args )

__construct() public method

public __construct ( $computation = NULL )

__get() public method

public __get ( $key )

always() public method

public always ( $oncomplete )

catchError() public method

public catchError ( $onreject, $test = NULL )

complete() public method

public complete ( $oncomplete )

done() public method

public done ( $onfulfill, $onreject = NULL )

each() public method

public each ( $callback )

every() public method

public every ( $callback )

fail() public method

public fail ( $onreject )

fill() public method

public fill ( $future )

filter() public method

public filter ( $callback, $preserveKeys = false )

includes() public method

public includes ( $searchElement, $strict = false )

inspect() public method

public inspect ( )

map() public method

public map ( $callback )

reduce() public method

public reduce ( $callback, $initial = NULL )

reject() public method

public reject ( $reason )

resolve() public method

public resolve ( $value )

some() public method

public some ( $callback )

spread() public method

public spread ( $onfulfilledArray )

tap() public method

public tap ( $onfulfilledSideEffect )

then() public method

public then ( $onfulfill, $onreject = NULL )

whenComplete() public method

public whenComplete ( $action )

Property Details

$reason public_oe property

public $reason

$state public_oe property

public $state

$value public_oe property

public $value