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