original_string: public function getCss()
      {
          switch ($this->type) {
              case self::TYPE_ERROR:
                  $css = 'danger';
                  break;
              case self::TYPE_WARNING:
                  $css = 'warning';
                  break;
              case self::TYPE_INFO:
                  $css = 'info';
                  break;
              case self::TYPE_SUCCESS:
                  $css = 'success';
                  break;
              default:
                  $css = 'info';
                  break;
          }
  
          return $css;
      }
code: public function getCss()
      {
          switch ($this->type) {
              case self::TYPE_ERROR:
                  $css = 'danger';
                  break;
              case self::TYPE_WARNING:
                  $css = 'warning';
                  break;
              case self::TYPE_INFO:
                  $css = 'info';
                  break;
              case self::TYPE_SUCCESS:
                  $css = 'success';
                  break;
              default:
                  $css = 'info';
                  break;
          }
  
          return $css;
      }
code_tokens: public function getCss ( ) { switch ( $ this -> type ) { case self :: TYPE_ERROR : $ css = 'danger' ; break ; case self :: TYPE_WARNING : $ css = 'warning' ; break ; case self :: TYPE_INFO : $ css = 'info' ; break ; case self :: TYPE_SUCCESS : $ css = 'success' ; break ; default : $ css = 'info' ; break ; } return $ css ; }
docstring: Get css used.
  
  @return string
docstring_tokens: Get css used .