public function offsetGet($offset)
        {
            $get = $this->chaining
                ? 'chain'
                : 'current';
            return array_key_exists($offset, $this->$get)
                ? $this->$get[$offset]
                : null;
        }
public function offsetGet($offset)
        {
            $get = $this->chaining
                ? 'chain'
                : 'current';
            return array_key_exists($offset, $this->$get)
                ? $this->$get[$offset]
                : null;
        }
public function offsetGet ( $ offset ) { $ get = $ this -> chaining ? 'chain' : 'current' ; return array_key_exists ( $ offset , $ this -> $ get ) ? $ this -> $ get [ $ offset ] : null ; }
Grab an offset if it's defined.

@param scalar $offset
@return mixed
Grab an offset if it s defined .