original_string: public function offsetGet($offset)
      {
          if (isset($this->_args[$offset])) {
              if (is_array($this->_args[$offset])) {
                  return new AssociativeArray($this->_args[$offset]);
              } else {
                  return $this->_args[$offset];
              }
          } else {
              throw new \Exception('Undefined offset \''.$offset.'\'.');
          }
      }
code: public function offsetGet($offset)
      {
          if (isset($this->_args[$offset])) {
              if (is_array($this->_args[$offset])) {
                  return new AssociativeArray($this->_args[$offset]);
              } else {
                  return $this->_args[$offset];
              }
          } else {
              throw new \Exception('Undefined offset \''.$offset.'\'.');
          }
      }
code_tokens: public function offsetGet ( $ offset ) { if ( isset ( $ this -> _args [ $ offset ] ) ) { if ( is_array ( $ this -> _args [ $ offset ] ) ) { return new AssociativeArray ( $ this -> _args [ $ offset ] ) ; } else { return $ this -> _args [ $ offset ] ; } } else { throw new \ Exception ( 'Undefined offset \'' . $ offset . '\'.' ) ; } }
docstring: Override the offsetGet function to throw
  an undefined offset error when a key is
  not found.
  
  @param  mixed $offset
  
  @return mixed
  @throws \Exception
docstring_tokens: Override the offsetGet function to throw an undefined offset error when a key is not found .