public function AbstractLazyCollection::toArray in Plug 7
Gets a native PHP array representation of the collection.
Return value
array
Overrides Collection::toArray
File
- lib/
doctrine/ collections/ lib/ Doctrine/ Common/ Collections/ AbstractLazyCollection.php, line 155
Class
- AbstractLazyCollection
- Lazy collection that is backed by a concrete collection
Namespace
Doctrine\Common\CollectionsCode
public function toArray() {
$this
->initialize();
return $this->collection
->toArray();
}