PHP Class GraphQL\Language\SourceLocation

Inheritance: implements JsonSerializable
Show file Open project: webonyx/graphql-php

Public Properties

Property Type Description
$column
$line

Public Methods

Method Description
__construct ( $line, $col )
jsonSerialize ( ) : mixed Specify data which should be serialized to JSON
toArray ( ) : array
toSerializableArray ( ) : array

Method Details

__construct() public method

public __construct ( $line, $col )

jsonSerialize() public method

Specify data which should be serialized to JSON
public jsonSerialize ( ) : mixed
return mixed data which can be serialized by json_encode, which is a value of any type other than a resource.

toArray() public method

public toArray ( ) : array
return array

toSerializableArray() public method

public toSerializableArray ( ) : array
return array

Property Details

$column public property

public $column

$line public property

public $line