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.
File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Collections/Collection.php, line 91
Class
- Collection
- The missing (SPL) Collection/Array/OrderedMap interface.
Namespace
Doctrine\Common\Collections
Code
function removeElement($element);