src/Core/Utilities/Classes/ArrayAccessTrait.php
public function offsetGet($offset)
    {
        $field = $this->dataField;

        if (empty($this->{$field}[$offset])) {
            return null;
        }

        return $this->{$field}[$offset];
    }
public function offsetGet($offset)
    {
        $field = $this->dataField;

        if (empty($this->{$field}[$offset])) {
            return null;
        }

        return $this->{$field}[$offset];
    }
public function offsetGet ( $ offset ) { $ field = $ this -> dataField ; if ( empty ( $ this -> { $ field } [ $ offset ] ) ) { return null ; } return $ this -> { $ field } [ $ offset ] ; }
Get a value of property.

@param mixed $offset Property key.

@return  mixed The value of this property.
Get a value of property .