\Everyman\Neo4j\CommandExecuteTraversal

Perform a traversal and return the results

Summary

Methods
Properties
Constants
__construct()
execute()
No public properties found
No constants found
getData()
getMethod()
getPath()
handleResult()
getEntityCache()
getEntityMapper()
getTransport()
throwException()
handleNodes()
handleRelationships()
handlePaths()
$client
$traversal
$node
$returnType
$results
N/A
No private methods found
No private properties found
N/A

Properties

$client

$client : 

Type

$traversal

$traversal : 

Type

$node

$node : 

Type

$returnType

$returnType : 

Type

$results

$results : 

Type

Methods

execute()

execute() : mixed

Run the command and return a value signalling the result

Throws

\Everyman\Neo4j\Exception

on failure

Returns

mixed

getData()

getData() : mixed

Return the data to pass

Returns

mixed

getMethod()

getMethod() : string

Return the transport method to call

Returns

string

getPath()

getPath() : string

Return the path to use

Returns

string

handleResult()

handleResult(integer $code, array $headers, array $data) : integer

Use the results

Parameters

integer $code
array $headers
array $data

Returns

integer —

on failure

throwException()

throwException(string $message, integer $code, array $headers, array $data)

Throw an exception from handling the results

Parameters

string $message
integer $code
array $headers
array $data

Throws

\Everyman\Neo4j\Exception

handleNodes()

handleNodes(array $data)

Handle nodes

Parameters

array $data

handleRelationships()

handleRelationships(array $data)

Handle relationships

Parameters

array $data

handlePaths()

handlePaths(array $data, boolean $full)

Handle paths

Parameters

array $data
boolean $full