abstract class AbstractPositioned extends AbstractEntity implements PositionedInterface (View source)

Combined AbstractEntity and PositionedTrait.

Traits

Trait which describe a positioned entity

Properties

protected $id from AbstractEntity
protected $position

Methods

int
getId()

No description

setId(int $id)

No description

float
getPosition()

No description

$this
setPosition(float $newPosition)

Set position as a float to enable increment and decrement by O.5 to insert a node between two others.

Details

int getId()

Return Value

int

AbstractEntity setId(int $id)

Parameters

int $id

Return Value

AbstractEntity

float getPosition()

Return Value

float

$this setPosition(float $newPosition)

Set position as a float to enable increment and decrement by O.5 to insert a node between two others.

Parameters

float $newPosition

Return Value

$this