original_string: public function toArray($method)
      {
          $vars = get_object_vars($this);
          $className = explode('\\', get_called_class());
          return $vars + array('model' => end($className));
      }
code: public function toArray($method)
      {
          $vars = get_object_vars($this);
          $className = explode('\\', get_called_class());
          return $vars + array('model' => end($className));
      }
code_tokens: public function toArray ( $ method ) { $ vars = get_object_vars ( $ this ) ; $ className = explode ( '\\' , get_called_class ( ) ) ; return $ vars + array ( 'model' => end ( $ className ) ) ; }
docstring: Convert object to an associative array
  
  @param string $method The API method called
  
  @return array
docstring_tokens: Convert object to an associative array