| 1234567891011121314151617181920212223242526272829 |
- <?php
- class AccountIcon {
- public $name = "";
- public $icon = "";
- public $url = "";
- /** @var int */
- public $counter = 0;
- /** @var string */
- public $buttonClass = "btn-light";
- public function __construct($name, $url, $icon) {
- $this->name = $name;
- $this->icon = $icon;
- $this->url = $url;
- }
- public function setCounter($counter) {
- $this->counter = $counter;
- }
- public function setButtonClass(string $class) {
- $this->buttonClass = $class;
- }
- }
|