Doctrine\Common\Collections\ArrayCollection::removeElement
Removes the specified element from the collection, if it is found.
Signature
public function removeElement(mixed
$element )
Parameters
$element
— mixed- The element to remove.
Returns
- boolean
- TRUE if this collection contained the specified element, FALSE otherwise.