original_string: public function getColour()
      {
          switch ($this->level) {
              case self::LEVEL_INFO:
                  return 'cyan';
  
              case self::LEVEL_WARNING:
                  return 'brown';
  
              case self::LEVEL_ERROR:
                  return 'red';
  
              default:
                  throw new \UnexpectedValueException('Could not get a colour. Level was set to ' . $this->getLevel());
          }
      }
code: public function getColour()
      {
          switch ($this->level) {
              case self::LEVEL_INFO:
                  return 'cyan';
  
              case self::LEVEL_WARNING:
                  return 'brown';
  
              case self::LEVEL_ERROR:
                  return 'red';
  
              default:
                  throw new \UnexpectedValueException('Could not get a colour. Level was set to ' . $this->getLevel());
          }
      }
code_tokens: public function getColour ( ) { switch ( $ this -> level ) { case self :: LEVEL_INFO : return 'cyan' ; case self :: LEVEL_WARNING : return 'brown' ; case self :: LEVEL_ERROR : return 'red' ; default : throw new \ UnexpectedValueException ( 'Could not get a colour. Level was set to ' . $ this -> getLevel ( ) ) ; } }
docstring: Gets the colour to use when echoing to the console.
  
  @return string
docstring_tokens: Gets the colour to use when echoing to the console .