original_string: public function getPrototype(ReflectionMethod $method)
      {
          $modifiers =
              implode(' ', Reflection::getModifierNames($method->getModifiers()));
          if ($this->hideAbstract) {
              $modifiers = str_replace('abstract ', '', $modifiers);
          }
          $parameters = array();
          foreach ($method->getParameters() as $p) {
              $param = $this->getTypeHint($p);
              $param .= $this->getName($p);
              $param .= $this->getDefaultValue($p);
              $parameters[] = $param;
          }
  
          return $modifiers . ' function ' . $method->getName() . "(" .
          implode(', ', $parameters) . ")";
      }
code: public function getPrototype(ReflectionMethod $method)
      {
          $modifiers =
              implode(' ', Reflection::getModifierNames($method->getModifiers()));
          if ($this->hideAbstract) {
              $modifiers = str_replace('abstract ', '', $modifiers);
          }
          $parameters = array();
          foreach ($method->getParameters() as $p) {
              $param = $this->getTypeHint($p);
              $param .= $this->getName($p);
              $param .= $this->getDefaultValue($p);
              $parameters[] = $param;
          }
  
          return $modifiers . ' function ' . $method->getName() . "(" .
          implode(', ', $parameters) . ")";
      }
code_tokens: public function getPrototype ( ReflectionMethod $ method ) { $ modifiers = implode ( ' ' , Reflection :: getModifierNames ( $ method -> getModifiers ( ) ) ) ; if ( $ this -> hideAbstract ) { $ modifiers = str_replace ( 'abstract ' , '' , $ modifiers ) ; } $ parameters = array ( ) ; foreach ( $ method -> getParameters ( ) as $ p ) { $ param = $ this -> getTypeHint ( $ p ) ; $ param .= $ this -> getName ( $ p ) ; $ param .= $ this -> getDefaultValue ( $ p ) ; $ parameters [ ] = $ param ; } return $ modifiers . ' function ' . $ method -> getName ( ) . "(" . implode ( ', ' , $ parameters ) . ")" ; }
docstring: Get the prototype for the method.
  
  @param  ReflectionMethod $method
  @return string
docstring_tokens: Get the prototype for the method .