public function addMessage($message, $type = 'success')
    {
        Events::dispatch('onMessageDisplay', array('message' => $message, 'type' => $type));
        $this->messages[] = array('message' => $message, 'type' => $type);
    }
public function addMessage($message, $type = 'success')
    {
        Events::dispatch('onMessageDisplay', array('message' => $message, 'type' => $type));
        $this->messages[] = array('message' => $message, 'type' => $type);
    }
public function addMessage ( $ message , $ type = 'success' ) { Events :: dispatch ( 'onMessageDisplay' , array ( 'message' => $ message , 'type' => $ type ) ) ; $ this -> messages [ ] = array ( 'message' => $ message , 'type' => $ type ) ; }
Muestra un mesaje en pantalla, con el estilo indicado

@param $message
@param string $type
Muestra un mesaje en pantalla con el estilo indicado