public function ArrayCollection::current

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

Return value

mixed

Overrides Collection::current

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Collections/ArrayCollection.php, line 110

Class

ArrayCollection
An ArrayCollection is a Collection implementation that wraps a regular PHP array.

Namespace

Doctrine\Common\Collections

Code

public function current() {
  return current($this->_elements);
}