1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | namespace KielD01\LaravelMaterialDashboardPro\Helpers\Icons; |
||
6 | |||
7 | abstract class Icon |
||
8 | { |
||
9 | private string $icon; |
||
10 | private array $icons = []; |
||
0 ignored issues
–
show
introduced
by
![]() |
|||
11 | |||
12 | public function __construct(string $icon) |
||
13 | { |
||
14 | $this->icon = $icon; |
||
15 | } |
||
16 | |||
17 | public function getIcon(): string |
||
18 | { |
||
19 | return $this->icon; |
||
20 | } |
||
21 | |||
22 | abstract public function buildIcon(): string; |
||
23 | } |
||
24 |