public function AbstractLazyCollection::removeElement in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php \Doctrine\Common\Collections\AbstractLazyCollection::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.
Overrides Collection::removeElement
File
- vendor/
doctrine/ collections/ lib/ Doctrine/ Common/ Collections/ AbstractLazyCollection.php, line 101
Class
- AbstractLazyCollection
- Lazy collection that is backed by a concrete collection
Namespace
Doctrine\Common\CollectionsCode
public function removeElement($element) {
$this
->initialize();
return $this->collection
->removeElement($element);
}