original_string: public function toArray()
      {
          $fn = 'toArray' . ucfirst($this->presentation);
          if (!method_exists($this, $fn)) {
              throw new \Exception('There is no method ' . $fn . '.');
          }
          return $this->$fn();
      }
code: public function toArray()
      {
          $fn = 'toArray' . ucfirst($this->presentation);
          if (!method_exists($this, $fn)) {
              throw new \Exception('There is no method ' . $fn . '.');
          }
          return $this->$fn();
      }
code_tokens: public function toArray ( ) { $ fn = 'toArray' . ucfirst ( $ this -> presentation ) ; if ( ! method_exists ( $ this , $ fn ) ) { throw new \ Exception ( 'There is no method ' . $ fn . '.' ) ; } return $ this -> $ fn ( ) ; }
docstring: Build and return the class representation as an array.
  
  @return array
  @throws \Exception If the current representation mode cannot be used
docstring_tokens: Build and return the class representation as an array .