PHP Class GraphQL\Executor\ExecutionResult

Mostra file Open project: webonyx/graphql-php Class Usage Examples

Public Properties

Property Type Description
$data array
$errors GraphQL\Error\Error[]
$extensions array[]

Public Methods

Method Description
__construct ( array $data = null, array $errors = [], array $extensions = [] )
toArray ( ) : array

Method Details

__construct() public method

public __construct ( array $data = null, array $errors = [], array $extensions = [] )
$data array
$errors array
$extensions array

toArray() public method

public toArray ( ) : array
return array

Property Details

$data public_oe property

public array $data
return array

$errors public_oe property

public Error[],GraphQL\Error $errors
return GraphQL\Error\Error[]

$extensions public_oe property

public array[] $extensions
return array[]