src/ExtendedArrays/Traits/BaseArray.php
public function offsetGet($offset)
    {
        return isset($this->_args[$offset])
            ? (
                (is_array($this->_args[$offset]))
                    ? new AssociativeArray($this->_args[$offset])
                    : $this->_args[$offset]
            ) : null;
    }
public function offsetGet($offset)
    {
        return isset($this->_args[$offset])
            ? (
                (is_array($this->_args[$offset]))
                    ? new AssociativeArray($this->_args[$offset])
                    : $this->_args[$offset]
            ) : null;
    }
public function offsetGet ( $ offset ) { return isset ( $ this -> _args [ $ offset ] ) ? ( ( is_array ( $ this -> _args [ $ offset ] ) ) ? new AssociativeArray ( $ this -> _args [ $ offset ] ) : $ this -> _args [ $ offset ] ) : null ; }
Retrieve a value based on an offset in the array.

@param  mixed $offset

@return mixed
Retrieve a value based on an offset in the array .