\Everyman\Neo4jPath

Represents collection of relationships joining two nodes

Summary

Methods
Properties
Constants
appendNode()
appendRelationship()
count()
getContext()
getEndNode()
getLength()
getIterator()
getNodes()
getRelationships()
getStartNode()
setContext()
No public properties found
ContextNode
ContextRelationship
No protected methods found
$relationships
$nodes
$context
N/A
No private methods found
No private properties found
N/A

Constants

ContextNode

ContextNode

ContextRelationship

ContextRelationship

Properties

$relationships

$relationships : 

Type

$nodes

$nodes : 

Type

$context

$context : 

Type

Methods

count()

count() : integer

Get the number of relationships in this path

Returns

integer

getContext()

getContext() : string

Get the current context for iteration

Returns

string

getLength()

getLength() : integer

Get the number of relationships in this path

Returns

integer

getIterator()

getIterator() : \Everyman\Neo4j\Iterator

Return an iterator for iterating through the path

Returns

\Everyman\Neo4j\Iterator

getNodes()

getNodes() : array

Get the list of nodes that make up this path

Returns

array

getRelationships()

getRelationships() : array

Get the list of relationships that make up this path

Returns

array

getStartNode()

getStartNode() : \Everyman\Neo4j\Node

Get the start node

Returns

\Everyman\Neo4j\Node

setContext()

setContext(string $context) : \Everyman\Neo4j\Path

Set the context for iteration

Parameters

string $context

Returns

\Everyman\Neo4j\Path