Add get badge icon method
This commit is contained in:
@@ -17,5 +17,12 @@ interface BadgeableInterface
|
|||||||
* @return BadgeColour Colour of badge to render
|
* @return BadgeColour Colour of badge to render
|
||||||
*/
|
*/
|
||||||
public function getBadgeColour(): BadgeColour;
|
public function getBadgeColour(): BadgeColour;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the badge icon name
|
||||||
|
*
|
||||||
|
* @return ?string Icon name
|
||||||
|
*/
|
||||||
|
public function getBadgeIcon(): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user