src/Traits/ArrayAccessTrait.php
public function offsetGet($offset)
    {
        if ($this->offsetExists($offset) &&
            $this->internalFilterHooks($offset, $this->baseConcreteData[$offset], 'output')
        ) {
            return $this->internalSanitizeHooks($offset, $this->baseConcreteData[$offset], 'output');
        }
    }
public function offsetGet($offset)
    {
        if ($this->offsetExists($offset) &&
            $this->internalFilterHooks($offset, $this->baseConcreteData[$offset], 'output')
        ) {
            return $this->internalSanitizeHooks($offset, $this->baseConcreteData[$offset], 'output');
        }
    }
public function offsetGet ( $ offset ) { if ( $ this -> offsetExists ( $ offset ) && $ this -> internalFilterHooks ( $ offset , $ this -> baseConcreteData [ $ offset ] , 'output' ) ) { return $ this -> internalSanitizeHooks ( $ offset , $ this -> baseConcreteData [ $ offset ] , 'output' ) ; } }
this is necessary for ArrayAccess Interface and return and element by offset
@param $offset
@return mixed the element data or null if it not exists
this is necessary for ArrayAccess Interface and return and element by offset