Total Complexity | 4 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
6 | class TexturesPropertyValueSkin { |
||
7 | |||
8 | /** |
||
9 | * @var string |
||
10 | */ |
||
11 | private $url; |
||
12 | |||
13 | /** |
||
14 | * @var bool |
||
15 | */ |
||
16 | private $isSlim; |
||
17 | |||
18 | 3 | public function __construct(string $skinUrl, bool $isSlim = false) { |
|
19 | 3 | $this->url = $skinUrl; |
|
20 | 3 | $this->isSlim = $isSlim; |
|
21 | 3 | } |
|
22 | |||
23 | 3 | public static function createFromTextures(array $textures): self { |
|
26 | } |
||
27 | |||
28 | 3 | public function getUrl(): string { |
|
30 | } |
||
31 | |||
32 | 3 | public function isSlim(): bool { |
|
37 |