public function AbstractLazyCollection::current in Plug 7
Gets the element of the collection at the current iterator position.
Return value
mixed
Overrides Collection::current
File
- lib/
doctrine/ collections/ lib/ Doctrine/ Common/ Collections/ AbstractLazyCollection.php, line 191
Class
- AbstractLazyCollection
- Lazy collection that is backed by a concrete collection
Namespace
Doctrine\Common\CollectionsCode
public function current() {
$this
->initialize();
return $this->collection
->current();
}