You are here

public function Collection::removeElement in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/collections/lib/Doctrine/Common/Collections/Collection.php \Doctrine\Common\Collections\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.

2 methods override Collection::removeElement()
AbstractLazyCollection::removeElement in vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php
Removes the specified element from the collection, if it is found.
ArrayCollection::removeElement in vendor/doctrine/collections/lib/Doctrine/Common/Collections/ArrayCollection.php
Removes the specified element from the collection, if it is found.

File

vendor/doctrine/collections/lib/Doctrine/Common/Collections/Collection.php, line 100

Class

Collection
The missing (SPL) Collection/Array/OrderedMap interface.

Namespace

Doctrine\Common\Collections

Code

public function removeElement($element);