original_string: protected function getMethodNameForClass(Element $element)
      {
          // if a method exists for this element, then use that one
          $className = get_class($element);
  
          // strip namespaces;
          $className = substr($className, strrpos($className, '\\') + 1);
  
          // make first char lower case
          return strtolower(substr($className, 0, 1)) . substr($className, 1);
      }
code: protected function getMethodNameForClass(Element $element)
      {
          // if a method exists for this element, then use that one
          $className = get_class($element);
  
          // strip namespaces;
          $className = substr($className, strrpos($className, '\\') + 1);
  
          // make first char lower case
          return strtolower(substr($className, 0, 1)) . substr($className, 1);
      }
code_tokens: protected function getMethodNameForClass ( Element $ element ) { // if a method exists for this element, then use that one $ className = get_class ( $ element ) ; // strip namespaces; $ className = substr ( $ className , strrpos ( $ className , '\\' ) + 1 ) ; // make first char lower case return strtolower ( substr ( $ className , 0 , 1 ) ) . substr ( $ className , 1 ) ; }
docstring: Return the name of the method as we would expect it for this class.
  
  It creates method names like this:
  
  ```FormHandler\Fields\TextField => textField```
  ```FormHandler\Fields\RadioButton => radioButton```
  
  @param Element $element
  @return string
docstring_tokens: Return the name of the method as we would expect it for this class .