Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
rcrowe
Hippy
Message
MessageInterface
__construct
rcrowe\Hippy\Message\MessageInterface::__construct PHP Method
MessageInterface Interface Documentation
Show file
Open project: rcrowe/hippy
__construct()
public
method
Get a new instance of message.
public
__construct
(
boolean
$notify
= false,
string
$background_color
= 'yellow' )
$notify
boolean
Should this message create a notification.
$background_color
string
Background color of message.
public function __construct($notify = false, $background_color = 'yellow');
MessageInterface
__construct
getBackgroundColor
getMessage
getMessageFormat
getNotification
removeNotification
setBackgroundColor
setHtml
setNotification
setText