@@ 77-87 (lines=11) @@ | ||
74 | * @param string $line |
|
75 | * @throws InvalidDataTypeException |
|
76 | */ |
|
77 | public function addAttention($notice, $dismissible = true, $file = '', $func = '', $line = '') |
|
78 | { |
|
79 | $this->attention[] = new Notice( |
|
80 | Notice::ATTENTION, |
|
81 | $notice, |
|
82 | $dismissible, |
|
83 | $file, |
|
84 | $func, |
|
85 | $line |
|
86 | ); |
|
87 | } |
|
88 | ||
89 | ||
90 | ||
@@ 121-131 (lines=11) @@ | ||
118 | * @param string $line |
|
119 | * @throws InvalidDataTypeException |
|
120 | */ |
|
121 | public function addSuccess($notice, $dismissible = true, $file = '', $func = '', $line = '') |
|
122 | { |
|
123 | $this->success[] = new Notice( |
|
124 | Notice::SUCCESS, |
|
125 | $notice, |
|
126 | $dismissible, |
|
127 | $file, |
|
128 | $func, |
|
129 | $line |
|
130 | ); |
|
131 | } |
|
132 | ||
133 | ||
134 | /** |