lithium\data\collection\DocumentArray::offsetGet PHP Method

offsetGet() public method

Returns the value at specified offset.
public offsetGet ( string $offset ) : mixed
$offset string The offset to retrieve.
return mixed Value at offset.
    public function offsetGet($offset)
    {
        return isset($this->_data[$offset]) ? $this->_data[$offset] : null;
    }