trait ChildCollectionTrait

Class ChildCollectionTrait.

Traits

Class ChildCollectionInverseSideTrait.

Methods

ArrayCollection
getChildCollection()

No description

bool
hasChild( Entity $child)

No description

$this
setChildCollection( ArrayCollection $children)

No description

$this
clearChildCollection()

No description

$this
addChild( Entity $child)

No description

$this
removeChild( Entity $child)

No description

Details

ArrayCollection getChildCollection()

Return Value

ArrayCollection

bool hasChildCollection()

Return Value

bool

bool hasChild( Entity $child)

Parameters

Entity $child

Return Value

bool

at line line 30
$this setChildCollection( ArrayCollection $children)

Parameters

ArrayCollection $children

Return Value

$this

at line line 40
$this clearChildCollection()

Return Value

$this

at line line 52
$this addChild( Entity $child)

Parameters

Entity $child

Return Value

$this

at line line 66
$this removeChild( Entity $child)

Parameters

Entity $child

Return Value

$this