Phalcon\Db\Adapter\MongoDB\Model\DatabaseInfoLegacyIterator::key PHP Method

key() public method

Return the key of the current element.
See also: http://php.net/iterator.key
public key ( ) : integer
return integer
    public function key()
    {
        return key($this->databases);
    }