/** * Construct a new notification message * * @param string $title * @param string $content * @param string $class (Optional) Defaults to NotificationMessage::MESSAGE * * @return void **/ public function __construct($title, $content, $class = self::INFO) { $this->title = NotificationMessage::styleAlertLinks($title); $this->content = NotificationMessage::styleAlertLinks($content); $this->class = $class; }