Add actual badge classes to bundle

This commit is contained in:
2024-08-08 14:15:09 +01:00
parent 8d85e6fa44
commit 36f3267fc6
5 changed files with 93 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
<?php
declare(strict_types=1);
namespace Pcm\BadgeBundle\Interface;
use Pcm\BadgeBundle\Enum\Badge;
/**
* Enables this class to be rendered as a badge using the Badge and BadgeOutline Twig components.
*/
interface BadgeableInterface
{
public function getBadgeColour(): Badge;
}