original_string: public function getLevelName()
      {
          switch ($this->getLevel()) {
              case self::LEVEL_INFO:
                  return 'Info';
  
              case self::LEVEL_WARNING:
                  return 'Warning';
  
              case self::LEVEL_ERROR:
                  return 'Error';
  
              default:
                  throw new \UnexpectedValueException('Level was set to ' . $this->getLevel());
          }
      }
code: public function getLevelName()
      {
          switch ($this->getLevel()) {
              case self::LEVEL_INFO:
                  return 'Info';
  
              case self::LEVEL_WARNING:
                  return 'Warning';
  
              case self::LEVEL_ERROR:
                  return 'Error';
  
              default:
                  throw new \UnexpectedValueException('Level was set to ' . $this->getLevel());
          }
      }
code_tokens: public function getLevelName ( ) { switch ( $ this -> getLevel ( ) ) { case self :: LEVEL_INFO : return 'Info' ; case self :: LEVEL_WARNING : return 'Warning' ; case self :: LEVEL_ERROR : return 'Error' ; default : throw new \ UnexpectedValueException ( 'Level was set to ' . $ this -> getLevel ( ) ) ; } }
docstring: Gets the Issues level as a string.
docstring_tokens: Gets the Issues level as a string .