From adb81e634e5edc2654450d6559022410418f5e93 Mon Sep 17 00:00:00 2001 From: Bradley Date: Thu, 8 Aug 2024 14:58:38 +0100 Subject: [PATCH] Add constructor --- src/Twig/Component/Badge.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Twig/Component/Badge.php b/src/Twig/Component/Badge.php index bfec21b..f7c048b 100644 --- a/src/Twig/Component/Badge.php +++ b/src/Twig/Component/Badge.php @@ -15,6 +15,10 @@ final class Badge public string $finalClasses = ''; + public function __construct(string $baseClasses) + { + } + /** * @param BadgeableInterface $object The object to be converted into a badge * @param string $class Extra classes you want to add to the badge template