PHP Class Doctrine\OrientDB\Graph\Graph

Inheritance: implements Doctrine\OrientDB\Graph\GraphInterface
Show file Open project: doctrine/orientdb-odm Class Usage Examples

Protected Properties

Property Type Description
$vertices array All the vertices in the graph

Public Methods

Method Description
add ( Doctrine\OrientDB\Graph\VertexInterface $vertex )
getVertex ( $id )
getVertices ( )

Method Details

add() public method

public add ( Doctrine\OrientDB\Graph\VertexInterface $vertex )
$vertex Doctrine\OrientDB\Graph\VertexInterface

getVertex() public method

public getVertex ( $id )

getVertices() public method

public getVertices ( )

Property Details

$vertices protected property

All the vertices in the graph
protected array $vertices
return array