PHP Class GraphQL\Tests\Language\TestUtils

Exibir arquivo Open project: webonyx/graphql-php Class Usage Examples

Public Methods

Method Description
locArray ( $start, $end ) : array
locationToArray ( Location $loc ) : array
nodeToArray ( Node $node ) : array

Method Details

locArray() public static method

public static locArray ( $start, $end ) : array
$start
$end
return array

locationToArray() public static method

public static locationToArray ( Location $loc ) : array
$loc GraphQL\Language\AST\Location
return array

nodeToArray() public static method

public static nodeToArray ( Node $node ) : array
$node GraphQL\Language\AST\Node
return array