| 1 | <?php |
||
| 24 | class BadgeTwigExtension extends AbstractBadgeTwigExtension { |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Service name. |
||
| 28 | * |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | const SERVICE_NAME = "webeweb.bootstrap.twig.extension.component.badge"; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Displays a Bootstrap badge. |
||
| 35 | * |
||
| 36 | * @param array $args The arguments. |
||
| 37 | * @return string Returns the Bootstrap badge. |
||
| 38 | */ |
||
| 39 | public function bootstrapBadgeFunction(array $args = []) { |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Get the Twig functions. |
||
| 45 | * |
||
| 46 | * @return Twig_SimpleFunction[] Returns the Twig functions. |
||
| 47 | */ |
||
| 48 | public function getFunctions() { |
||
| 54 | } |
||
| 55 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.