Phalcon\Db\Adapter\MongoDB\Model\IndexInfo::offsetGet PHP Method

offsetGet() public method

This method satisfies the Enumerating Indexes specification's requirement that index fields be made accessible under their original names. It may also be used to access fields that do not have a helper method.
See also: http://php.net/arrayaccess.offsetget
See also: https://github.com/mongodb/specifications/blob/master/source/enumerate-indexes.rst#getting-full-index-information
public offsetGet ( mixed $key ) : mixed
$key mixed
return mixed
    public function offsetGet($key)
    {
        return $this->info[$key];
    }