public function Collection::removeElement in Plug 7
Removes the specified element from the collection, if it is found.
Parameters
mixed $element The element to remove.:
Return value
boolean TRUE if this collection contained the specified element, FALSE otherwise.
2 methods override Collection::removeElement()
- AbstractLazyCollection::removeElement in lib/
doctrine/ collections/ lib/ Doctrine/ Common/ Collections/ AbstractLazyCollection.php - Removes the specified element from the collection, if it is found.
- ArrayCollection::removeElement in lib/
doctrine/ collections/ lib/ Doctrine/ Common/ Collections/ ArrayCollection.php - Removes the specified element from the collection, if it is found.
File
- lib/
doctrine/ collections/ lib/ Doctrine/ Common/ Collections/ Collection.php, line 100
Class
- Collection
- The missing (SPL) Collection/Array/OrderedMap interface.
Namespace
Doctrine\Common\CollectionsCode
public function removeElement($element);