yii\base\ArrayAccessTrait::offsetGet PHP Method

offsetGet() public method

This method is required by the interface [[\ArrayAccess]].
public offsetGet ( integer $offset ) : mixed
$offset integer the offset to retrieve element.
return mixed the element at the offset, null if no element is found at the offset
    public function offsetGet($offset)
    {
        return isset($this->data[$offset]) ? $this->data[$offset] : null;
    }