ChainElementTrait
trait ChainElementTrait (View source)
Reference implementation of the ChainElementInterface
Methods
detachElement()
Detach element from owning list
getPreviousElement()
No description
getNextElement()
No description
Details
at line 22
insertBefor(ChainElementInterface $after)
Insert the chain element just before another one
at line 34
insertAfter(ChainElementInterface $before)
Insert the instance element just after a given one
at line 47
setPreviousElement(ChainElementInterface $previousElement = null)
Set the previous element in chain
This method shoud be considered as non-public
at line 69
setNextElement(ChainElementInterface $nextElement = null)
Set next element in chain
This method should be considered as non-public.
at line 87
detachElement()
Detach element from owning list