function Collection::toArray

Same name in this branch

Gets a native PHP array representation of the collection.

Return value

array

1 method overrides Collection::toArray()
ArrayCollection::toArray in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Collections/ArrayCollection.php
Gets the PHP array representation of this collection.

File

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

Class

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

Namespace

Doctrine\Common\Collections

Code

function toArray();