original_string: public function addMessage($message, $label = 'info')
      {
          if ($this->hasCollector('messages')) {
              /** @var \DebugBar\DataCollector\MessagesCollector $collector */
              $collector = $this->getCollector('messages');
              $collector->addMessage($message, $label);
          }
      }
code: public function addMessage($message, $label = 'info')
      {
          if ($this->hasCollector('messages')) {
              /** @var \DebugBar\DataCollector\MessagesCollector $collector */
              $collector = $this->getCollector('messages');
              $collector->addMessage($message, $label);
          }
      }
code_tokens: public function addMessage ( $ message , $ label = 'info' ) { if ( $ this -> hasCollector ( 'messages' ) ) { /** @var \DebugBar\DataCollector\MessagesCollector $collector */ $ collector = $ this -> getCollector ( 'messages' ) ; $ collector -> addMessage ( $ message , $ label ) ; } }
docstring: Adds a message to the MessagesCollector
  
  A message can be anything from an object to a string
  
  @param mixed $message
  @param string $label
docstring_tokens: Adds a message to the MessagesCollector