original_string: protected function getElementType()
      {
          $class   = $this->getElementClass($this);
          $parts   = explode('\\', $class);
          $type    = end($parts);
          $replace = '$1_$2';
  
          return ctype_lower($type) ? $type : strtolower(preg_replace('/(.)([A-Z])/', $replace, $type));
      }
code: protected function getElementType()
      {
          $class   = $this->getElementClass($this);
          $parts   = explode('\\', $class);
          $type    = end($parts);
          $replace = '$1_$2';
  
          return ctype_lower($type) ? $type : strtolower(preg_replace('/(.)([A-Z])/', $replace, $type));
      }
code_tokens: protected function getElementType ( ) { $ class = $ this -> getElementClass ( $ this ) ; $ parts = explode ( '\\' , $ class ) ; $ type = end ( $ parts ) ; $ replace = '$1_$2' ; return ctype_lower ( $ type ) ? $ type : strtolower ( preg_replace ( '/(.)([A-Z])/' , $ replace , $ type ) ) ; }
docstring: Returns friendly element type used for example in Twig macros
  
  @return mixed|string
docstring_tokens: Returns friendly element type used for example in Twig macros