You are here

public function AbstractLazyCollection::getKeys in Plug 7

Gets all keys/indices of the collection.

Return value

array The keys/indices of the collection, in the order of the corresponding elements in the collection.

Overrides Collection::getKeys

File

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

Class

AbstractLazyCollection
Lazy collection that is backed by a concrete collection

Namespace

Doctrine\Common\Collections

Code

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