PHP Интерфейс Doctrine\OrientDB\Graph\GraphInterface

Показать файл Открыть проект

Открытые методы

Метод Описание
add ( Doctrine\OrientDB\Graph\VertexInterface $vertex ) : Doctrine\OrientDB\Graph\GraphInterface Adds a new vertex to the current graph.
getVertex ( mixed $id ) : Doctrine\OrientDB\Graph\VertexInterface Returns the vertex identified with the $id associated to this graph.
getVertices ( ) : Array Returns all the vertices that belong to this graph.

Описание методов

add() публичный Метод

Adds a new vertex to the current graph.
public add ( Doctrine\OrientDB\Graph\VertexInterface $vertex ) : Doctrine\OrientDB\Graph\GraphInterface
$vertex Doctrine\OrientDB\Graph\VertexInterface
Результат Doctrine\OrientDB\Graph\GraphInterface

getVertex() публичный Метод

Returns the vertex identified with the $id associated to this graph.
public getVertex ( mixed $id ) : Doctrine\OrientDB\Graph\VertexInterface
$id mixed
Результат Doctrine\OrientDB\Graph\VertexInterface

getVertices() публичный Метод

Returns all the vertices that belong to this graph.
public getVertices ( ) : Array
Результат Array