public function ArrayCollection::toArray

Gets the PHP array representation of this collection.

Return value

array The PHP array representation of this collection.

Overrides Collection::toArray

File

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

Class

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

Namespace

Doctrine\Common\Collections

Code

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