A graph element that is the basis of the graph and can be connected to other vertices using graph edges.

Implements

Extended by

Methods

Graph\Result

id

( )

Gets the vertex’s unique identifier.

Returns:
Type Details
Graph\Result

The vertex’s identifier as a graph result.

string

label

( )

Gets the vertex’s label.

Returns:
Type Details
string

The vertex’s label.

array

properties

( )

Gets the vertex’s properties as an array of graph results.

Returns:
Type Details
array

An array of graph results.

Graph\Result

property

( string $key )

Gets an vertex’s property for a specific key.

Parameters:
Name Type Details
$key string

A property’s name

Returns:
Type Details
Graph\Result

An vertex’s property as a graph result.