Add constructor

This commit is contained in:
2024-08-08 14:58:38 +01:00
parent 1021b62f35
commit adb81e634e

View File

@@ -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