function Collection::getKeys

Same name in this branch

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.

1 method overrides Collection::getKeys()
ArrayCollection::getKeys in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Collections/ArrayCollection.php
Gets all keys/indexes of the collection elements.

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Collections/Collection.php, line 116

Class

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

Namespace

Doctrine\Common\Collections

Code

function getKeys();