/** * get Message with customized content * * shorthand for getting a customized message * * @param string $message A localized string * @param integer $type A numeric representation of the type of message * * @return Message * @static */ public static function raw($message, $type = Message::NOTICE) { $r = new Message('', $type); $r->setMessage($message); $r->setBBCode(false); return $r; }