src/Components/Messages.php
public function addMessage($text, $type = null)
    {
        $this->set(null, new \OtherCode\FController\Components\Messages\Message($text, $type));
    }
public function addMessage($text, $type = null)
    {
        $this->set(null, new \OtherCode\FController\Components\Messages\Message($text, $type));
    }
public function addMessage ( $ text , $ type = null ) { $ this -> set ( null , new \ OtherCode \ FController \ Components \ Messages \ Message ( $ text , $ type ) ) ; }
Add a new message to the queue
@param string $text
@param null|string $type
Add a new message to the queue