PHP Class GraphQL\Executor\Promise\Adapter\GenericPromiseAdapter

Inheritance: implements GraphQL\Executor\Promise\PromiseAdapter
Datei anzeigen Open project: webonyx/graphql-php

Public Methods

Method Description
createPromise ( callable $resolver )
createPromiseAll ( $promisesOrValues )
createRejectedPromise ( $reason )
createResolvedPromise ( $promiseOrValue = null )
isPromise ( $value )

Method Details

createPromise() public method

public createPromise ( callable $resolver )
$resolver callable

createPromiseAll() public method

public createPromiseAll ( $promisesOrValues )

createRejectedPromise() public method

public createRejectedPromise ( $reason )

createResolvedPromise() public method

public createResolvedPromise ( $promiseOrValue = null )

isPromise() public method

public isPromise ( $value )