PHP Interface GraphQL\Executor\Promise\Promise

Show file Open project: webonyx/graphql-php Interface Usage Examples

Public Methods

Method Description
then ( callable $onFullFilled = null, callable $onRejected = null ) : GraphQL\Executor\Promise\Promise

Method Details

then() public method

public then ( callable $onFullFilled = null, callable $onRejected = null ) : GraphQL\Executor\Promise\Promise
$onFullFilled callable
$onRejected callable
return GraphQL\Executor\Promise\Promise