trait ParentCollectionTrait

Class ParentCollectionTrait.

Traits

Class ParentCollectionInverseSideTrait.

Methods

ArrayCollection
getParentCollection()

Getter for parentCollection.

bool
hasParent( Entity $parent)

No description

$this
setParentCollection( ArrayCollection $parents)

No description

$this
clearParentCollection()

No description

$this
addParent( Entity $parent)

No description

$this
removeParent( Entity $parent)

No description

Details

ArrayCollection getParentCollection()

Getter for parentCollection.

Return Value

ArrayCollection

bool hasParentCollection()

Return Value

bool

bool hasParent( Entity $parent)

Parameters

Entity $parent

Return Value

bool

at line line 30
$this setParentCollection( ArrayCollection $parents)

Parameters

ArrayCollection $parents

Return Value

$this

at line line 40
$this clearParentCollection()

Return Value

$this

at line line 52
$this addParent( Entity $parent)

Parameters

Entity $parent

Return Value

$this

at line line 64
$this removeParent( Entity $parent)

Parameters

Entity $parent

Return Value

$this