PhpOrient\Protocols\Binary\Data\Record::offsetGet PHP Method

offsetGet() public method

(PHP 5 >= 5.0.0)
Offset to retrieve
public offsetGet ( mixed $offset ) : mixed
$offset mixed

The offset to retrieve.

return mixed Can return all value types.
    public function offsetGet($offset)
    {
        if (@array_key_exists($offset, $this->oData)) {
            return $this->oData[$offset];
        } else {
            return null;
        }
    }