You are here

public function Collection::toArray in Plug 7

Gets a native PHP array representation of the collection.

Return value

array

2 methods override Collection::toArray()
AbstractLazyCollection::toArray in lib/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php
Gets a native PHP array representation of the collection.
ArrayCollection::toArray in lib/doctrine/collections/lib/Doctrine/Common/Collections/ArrayCollection.php
Gets a native PHP array representation of the collection.

File

lib/doctrine/collections/lib/Doctrine/Common/Collections/Collection.php, line 152

Class

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

Namespace

Doctrine\Common\Collections

Code

public function toArray();