\Everyman\Neo4j\CommandCreateNode

Create a node

Summary

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

Properties

$client

$client : 

Type

$node

$node : 

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) : boolean

Use the results

Parameters

integer $code
array $headers
array $data

Throws

\Everyman\Neo4j\Command\Exception

on failure

Returns

boolean —

true on success

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