You are here

public function Collection::getKeys 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::getKeys()

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.

2 methods override Collection::getKeys()
AbstractLazyCollection::getKeys in vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php
Gets all keys/indices of the collection.
ArrayCollection::getKeys in vendor/doctrine/collections/lib/Doctrine/Common/Collections/ArrayCollection.php
Gets all keys/indices of the collection.

File

vendor/doctrine/collections/lib/Doctrine/Common/Collections/Collection.php, line 127

Class

Collection
The missing (SPL) Collection/Array/OrderedMap interface.

Namespace

Doctrine\Common\Collections

Code

public function getKeys();