PHP Class GraphQL\Error\SyntaxError

Inheritance: extends Error
Show file Open project: webonyx/graphql-php

Public Methods

Method Description
__construct ( Source $source, integer $position, string $description )
highlightSourceAtLocation ( Source $source, SourceLocation $location ) : string

Method Details

__construct() public method

public __construct ( Source $source, integer $position, string $description )
$source GraphQL\Language\Source
$position integer
$description string

highlightSourceAtLocation() public static method

public static highlightSourceAtLocation ( Source $source, SourceLocation $location ) : string
$source GraphQL\Language\Source
$location GraphQL\Language\SourceLocation
return string