public function ArrayCollection::getValues

Gets all elements.

Return value

array

Overrides Collection::getValues

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Collections/ArrayCollection.php, line 300

Class

ArrayCollection
An ArrayCollection is a Collection implementation that wraps a regular PHP array.

Namespace

Doctrine\Common\Collections

Code

public function getValues() {
  return array_values($this->_elements);
}