original_string: public function toArray()
      {
          $methods = array();
          foreach ($this->getMethods() as $key => $method) {
              $methods[$key] = $method->toArray();
          }
          return $methods;
      }
code: public function toArray()
      {
          $methods = array();
          foreach ($this->getMethods() as $key => $method) {
              $methods[$key] = $method->toArray();
          }
          return $methods;
      }
code_tokens: public function toArray ( ) { $ methods = array ( ) ; foreach ( $ this -> getMethods ( ) as $ key => $ method ) { $ methods [ $ key ] = $ method -> toArray ( ) ; } return $ methods ; }
docstring: Cast definition to an array
  
  @return array
docstring_tokens: Cast definition to an array