A representation of a graph element

Implements

Methods

Graph\Result

id

( )

Gets the element’s unique identifier.

Returns:
Type Details
Graph\Result

The element’s identifier as a graph result.

string

label

( )

Get’s the element’s label.

Returns:
Type Details
string

The element’s label.

array

properties

( )

Gets an array of the element’s properties.

Returns:
Type Details
array

An array of graph results.

Graph\Result

property

( string $key )

Gets the element’s property at the specified key.

Parameters:
Name Type Details
$key string

The name of the element’s property.

Returns:
Type Details
Graph\Result

The element’s property as a graph result.