$id
$id :
Represents a single node in the database
__construct(\Everyman\Neo4j\Client $client)
Build the container and set its client
\Everyman\Neo4j\Client | $client |
delete() : \Everyman\Neo4j\PropertyContainer
Delete this node
on failure
load() : \Everyman\Neo4j\PropertyContainer
Load this node
on failure
save() : \Everyman\Neo4j\PropertyContainer
Save this node
on failure
getClient() : \Everyman\Neo4j\Client
Get the entity's client
removeProperty(string $property) : \Everyman\Neo4j\PropertyContainer
Remove a property set on the entity
string | $property |
setClient(\Everyman\Neo4j\Client $client) : \Everyman\Neo4j\PropertyContainer
Set the entity's client
\Everyman\Neo4j\Client | $client |
setId(integer $id) : \Everyman\Neo4j\PropertyContainer
Set the entity's id
integer | $id |
setProperties(array $properties) : \Everyman\Neo4j\PropertyContainer
Set multiple properties on the entity
array | $properties |
setProperty(string $property, mixed $value) : \Everyman\Neo4j\PropertyContainer
Set a property on the entity
string | $property | |
mixed | $value |
useLazyLoad(boolean $lazyLoad) : \Everyman\Neo4j\PropertyContainer
Should this entity be lazy-loaded if necessary?
boolean | $lazyLoad |
findPathsTo(\Everyman\Neo4j\Node $to, string $type, string $dir) : \Everyman\Neo4j\PathFinder
Find paths from this node to the given node
\Everyman\Neo4j\Node | $to | |
string | $type | |
string | $dir |
getFirstRelationship(mixed $types, string $dir) : \Everyman\Neo4j\Relationship
Get the first relationship of this node that matches the given criteria
mixed | $types | string or array of strings |
string | $dir |
relateTo(\Everyman\Neo4j\Node $to, string $type) : \Everyman\Neo4j\Relationship
Make a new relationship
\Everyman\Neo4j\Node | $to | |
string | $type |