1 | <?php |
||
26 | abstract class AbstractController extends BaseController { |
||
27 | |||
28 | /** |
||
29 | * Notify "danger". |
||
30 | * |
||
31 | * @param string $content The content. |
||
32 | * @return NotificationEvent Returns the event. |
||
33 | */ |
||
34 | protected function notifyDanger(string $content): NotificationEvent { |
||
38 | |||
39 | /** |
||
40 | * Notify "info". |
||
41 | * |
||
42 | * @param string $content The content. |
||
43 | * @return NotificationEvent Returns the event. |
||
44 | */ |
||
45 | protected function notifyInfo(string $content): NotificationEvent { |
||
49 | |||
50 | /** |
||
51 | * Notify "success". |
||
52 | * |
||
53 | * @param string $content The content. |
||
54 | * @return NotificationEvent Returns the event. |
||
55 | */ |
||
56 | protected function notifySuccess(string $content): NotificationEvent { |
||
60 | |||
61 | /** |
||
62 | * Notify "warning". |
||
63 | * |
||
64 | * @param string $content The content. |
||
65 | * @return NotificationEvent Returns the event. |
||
66 | */ |
||
67 | protected function notifyWarning(string $content): NotificationEvent { |
||
71 | } |
||
72 |