PHP Class GraphQL\Language\Source

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

Public Properties

Property Type Description
$body string
$length integer
$name string

Public Methods

Method Description
__construct ( $body, $name = null )
getLocation ( $position ) : SourceLocation

Method Details

__construct() public method

public __construct ( $body, $name = null )

getLocation() public method

public getLocation ( $position ) : SourceLocation
$position
return SourceLocation

Property Details

$body public property

public string $body
return string

$length public property

public int $length
return integer

$name public property

public string $name
return string