You are here

public function Collection::toArray in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/collections/lib/Doctrine/Common/Collections/Collection.php \Doctrine\Common\Collections\Collection::toArray()

Gets a native PHP array representation of the collection.

Return value

array

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

File

vendor/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();