1 | <?php |
||
15 | class Alert implements AlertInterface |
||
16 | { |
||
17 | |||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | private $type; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | private $message; |
||
27 | |||
28 | /** |
||
29 | * @param string $type |
||
30 | * @param string $message |
||
31 | */ |
||
32 | public function __construct($type, $message) |
||
37 | |||
38 | /** |
||
39 | * @return string |
||
40 | */ |
||
41 | public function getType() |
||
45 | |||
46 | /** |
||
47 | * @return string |
||
48 | */ |
||
49 | public function getMessage() |
||
53 | |||
54 | } |