public function AbstractLazyCollection::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.
Overrides Collection::removeElement
File
- lib/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);
}