Table of Contents
-
$_id
: ObjectId
-
$deleted
: bool
-
$location
: Point
-
$relation
: ObjectId
-
$system
: bool
-
__construct()
: mixed
-
__toString()
: string
-
bsonSerialize()
: array<string|int, mixed>
-
bsonUnserialize()
: void
-
createFromArray()
: NodeEntity
-
getGeometry()
: Point
-
getId()
: ObjectId
-
getLocation()
: Point
-
getRelation()
: ObjectId
-
isDeleted()
: bool
-
isSystem()
: bool
-
jsonSerialize()
: array<string|int, mixed>
-
markAsDeleted()
: self
-
parseObjectId()
: ObjectId|null
-
setId()
: self
-
setLocation()
: self
-
setRelation()
: self
-
setSystem()
: self
-
toArray()
: array<string|int, mixed>
$_id
protected
ObjectId
$_id
$deleted
private
bool
$deleted
$location
private
Point
$location
$relation
private
ObjectId
$relation
$system
private
bool
$system
= false
__construct()
public
__construct(ObjectId $relationId[, ObjectId|null $id = null ]) : mixed
Parameters
-
$relationId
: ObjectId
-
-
$id
: ObjectId|null
= null
-
Return values
mixed
—
__toString()
public
__toString() : string
Return values
string
—
bsonSerialize()
public
bsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
bsonUnserialize()
public
bsonUnserialize(array<string|int, mixed> $data) : void
Parameters
-
$data
: array<string|int, mixed>
-
Return values
void
—
createFromArray()
public
static createFromArray(array<string|int, mixed> $nodeArray) : NodeEntity
Parameters
-
$nodeArray
: array<string|int, mixed>
-
Return values
NodeEntity
—
getGeometry()
public
getGeometry() : Point
Return values
Point
—
getId()
public
getId() : ObjectId
Return values
ObjectId
—
getLocation()
public
getLocation() : Point
Return values
Point
—
getRelation()
public
getRelation() : ObjectId
Return values
ObjectId
—
isDeleted()
public
isDeleted() : bool
Return values
bool
—
isSystem()
public
isSystem() : bool
Return values
bool
—
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
markAsDeleted()
public
markAsDeleted() : self
Return values
self
—
parseObjectId()
public
static parseObjectId(mixed $objectId) : ObjectId|null
Parameters
-
$objectId
: mixed
-
Return values
ObjectId|null
—
setId()
public
setId(ObjectId $id) : self
Parameters
-
$id
: ObjectId
-
Return values
self
—
setLocation()
public
setLocation(Point $location) : self
Parameters
-
$location
: Point
-
Return values
self
—
setRelation()
public
setRelation(ObjectId $relationId) : self
Parameters
-
$relationId
: ObjectId
-
Return values
self
—
setSystem()
public
setSystem(bool $flag) : self
Parameters
-
$flag
: bool
-
Return values
self
—
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
—