You are here

public function AbstractLazyCollection::getValues in Zircon Profile 8

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

Gets all values of the collection.

Return value

array The values of all elements in the collection, in the order they appear in the collection.

Overrides Collection::getValues

File

vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php, line 137

Class

AbstractLazyCollection
Lazy collection that is backed by a concrete collection

Namespace

Doctrine\Common\Collections

Code

public function getValues() {
  $this
    ->initialize();
  return $this->collection
    ->getValues();
}