original_string: public function getHeader()
      {
          switch ($this->type) {
              case self::TYPE_ERROR:
                  $header = 'Error!';
                  break;
              case self::TYPE_WARNING:
                  $header = 'Warning!';
                  break;
              case self::TYPE_INFO:
                  $header = 'Info';
                  break;
              case self::TYPE_SUCCESS:
                  $header = 'Success';
                  break;
              default:
                  $header = 'Info';
                  break;
          }
  
          return $header;
      }
code: public function getHeader()
      {
          switch ($this->type) {
              case self::TYPE_ERROR:
                  $header = 'Error!';
                  break;
              case self::TYPE_WARNING:
                  $header = 'Warning!';
                  break;
              case self::TYPE_INFO:
                  $header = 'Info';
                  break;
              case self::TYPE_SUCCESS:
                  $header = 'Success';
                  break;
              default:
                  $header = 'Info';
                  break;
          }
  
          return $header;
      }
code_tokens: public function getHeader ( ) { switch ( $ this -> type ) { case self :: TYPE_ERROR : $ header = 'Error!' ; break ; case self :: TYPE_WARNING : $ header = 'Warning!' ; break ; case self :: TYPE_INFO : $ header = 'Info' ; break ; case self :: TYPE_SUCCESS : $ header = 'Success' ; break ; default : $ header = 'Info' ; break ; } return $ header ; }
docstring: Get header title.
  
  @return string
docstring_tokens: Get header title .