Constants

DirectionAll

DirectionAll

DirectionIn

DirectionIn

DirectionOut

DirectionOut

Properties

$id

$id : 

Type

$client

$client : 

Type

$properties

$properties : 

Type

$lazyLoad

$lazyLoad : 

Type

$start

$start : 

Type

$end

$end : 

Type

$type

$type : 

Type

Methods

__construct()

__construct(\Everyman\Neo4j\Client $client)

Build the container and set its client

Parameters

\Everyman\Neo4j\Client $client

delete()

delete() : \Everyman\Neo4j\PropertyContainer

Delete this relationship

Throws

\Everyman\Neo4j\Exception

on failure

Returns

\Everyman\Neo4j\PropertyContainer

getId()

getId() : integer

Get the entity's id

Returns

integer

getProperties()

getProperties() : array

Return all properties

Returns

array

getProperty()

getProperty(string $property) : mixed

Return the named property

Parameters

string $property

Returns

mixed

hasId()

hasId() : boolean

Is this entity identified?

Returns

boolean

removeProperty()

removeProperty(string $property) : \Everyman\Neo4j\PropertyContainer

Remove a property set on the entity

Parameters

string $property

Returns

\Everyman\Neo4j\PropertyContainer

setProperties()

setProperties(array $properties) : \Everyman\Neo4j\PropertyContainer

Set multiple properties on the entity

Parameters

array $properties

Returns

\Everyman\Neo4j\PropertyContainer

setProperty()

setProperty(string $property, mixed $value) : \Everyman\Neo4j\PropertyContainer

Set a property on the entity

Parameters

string $property
mixed $value

Returns

\Everyman\Neo4j\PropertyContainer

useLazyLoad()

useLazyLoad(boolean $lazyLoad) : \Everyman\Neo4j\PropertyContainer

Should this entity be lazy-loaded if necessary?

Parameters

boolean $lazyLoad

Returns

\Everyman\Neo4j\PropertyContainer

getStartNode()

getStartNode() : \Everyman\Neo4j\Node

Get the start node

Returns

\Everyman\Neo4j\Node

getType()

getType() : string

Get the relationship type

Returns

string

loadProperties()

loadProperties()

Set up the properties array the first time we need it

This includes loading the properties from the server if we can get them.