1 | <?php |
||
20 | class AlertRenderer { |
||
21 | |||
22 | /** |
||
23 | * Render a content. |
||
24 | * |
||
25 | * @param AlertInterface $alert The alert. |
||
26 | * @return string Returns the rendered block. |
||
27 | */ |
||
28 | public static function renderContent(AlertInterface $alert) { |
||
31 | |||
32 | /** |
||
33 | * Render a dismissible. |
||
34 | * |
||
35 | * @param AlertInterface $alert The alert. |
||
36 | * @return string|null Returns the rendered dismissible. |
||
37 | */ |
||
38 | public static function renderDismissible(AlertInterface $alert) { |
||
41 | |||
42 | /** |
||
43 | * Render a type. |
||
44 | * |
||
45 | * @param AlertInterface $alert The alert. |
||
46 | * @return string|null Returns the rendered type. |
||
47 | */ |
||
48 | public static function renderType(AlertInterface $alert) { |
||
51 | } |
||
52 |