1 | <?php |
||
5 | class SweetAlert2 extends AbstractNotifier implements NotifierInterface |
||
6 | { |
||
7 | /** |
||
8 | * Get global toastr options. |
||
9 | * |
||
10 | * @return string |
||
11 | */ |
||
12 | public function options(): string |
||
16 | |||
17 | /** |
||
18 | * Create a single notification. |
||
19 | * |
||
20 | * @param string $type |
||
21 | * @param string $message |
||
22 | * @param string|null $title |
||
23 | * @param string|null $options |
||
24 | * |
||
25 | * @return string |
||
26 | */ |
||
27 | public function notify(string $type, string $message = '', string $title = '', string $options = ''): string |
||
37 | } |
||
38 |