|
|
@@ -6,7 +6,11 @@ class AccountIcon {
|
|
|
public $icon = "";
|
|
|
public $url = "";
|
|
|
|
|
|
- public $counter = false;
|
|
|
+ /** @var int */
|
|
|
+ public $counter = 0;
|
|
|
+
|
|
|
+ /** @var string */
|
|
|
+ public $buttonClass = "btn-light";
|
|
|
|
|
|
public function __construct($name, $url, $icon) {
|
|
|
$this->name = $name;
|
|
|
@@ -18,4 +22,8 @@ class AccountIcon {
|
|
|
$this->counter = $counter;
|
|
|
}
|
|
|
|
|
|
+ public function setButtonClass(string $class) {
|
|
|
+ $this->buttonClass = $class;
|
|
|
+ }
|
|
|
+
|
|
|
}
|