function Collection::removeElement

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.

1 method overrides Collection::removeElement()
ArrayCollection::removeElement in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Collections/ArrayCollection.php
Removes the specified element from the collection, if it is found.

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);