public function setMessage($message, $type = 'info', $parameters = [])
    {
        $this->getSession()->getFlashBag()->add($type, $this->translate($message, $parameters));
    }
public function setMessage($message, $type = 'info', $parameters = [])
    {
        $this->getSession()->getFlashBag()->add($type, $this->translate($message, $parameters));
    }
public function setMessage ( $ message , $ type = 'info' , $ parameters = [ ] ) { $ this -> getSession ( ) -> getFlashBag ( ) -> add ( $ type , $ this -> translate ( $ message , $ parameters ) ) ; }
Set a flash notice in session for next request. The message is translated

@param $message
@param string $type
@param array $parameters
Set a flash notice in session for next request . The message is translated