Doctrine\Common\Collections\Collection::add
Adds an element at the end of the collection.
Signature
public function add(mixed
$element )
Parameters
$element
— mixed- The element to add.
Returns
- boolean
- Always TRUE.