function Collection::current

Gets the element of the collection at the current iterator position.

1 method overrides Collection::current()
ArrayCollection::current in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Collections/ArrayCollection.php
Gets the element of the collection at the current internal iterator position.

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Collections/Collection.php, line 167

Class

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

Namespace

Doctrine\Common\Collections

Code

function current();