Add constructor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user