Total Complexity | 5 |
Total Lines | 57 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class JsonManifestVersioned implements VersionedInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | protected string $version = ''; |
||
25 | |||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | protected string $format = ''; |
||
30 | |||
31 | /** |
||
32 | * @var array |
||
33 | */ |
||
34 | protected array $data; |
||
35 | |||
36 | /** |
||
37 | * JsonManifestVersioned constructor. |
||
38 | * |
||
39 | * @param string $manifestPath |
||
40 | * @throws JsonException|InvalidArgumentException |
||
41 | */ |
||
42 | public function __construct(string $manifestPath) |
||
55 | ); |
||
56 | } |
||
57 | |||
58 | /** |
||
59 | * @inheritdoc |
||
60 | */ |
||
61 | public function version(): string |
||
62 | { |
||
63 | return ''; |
||
64 | } |
||
65 | |||
66 | /** |
||
67 | * @inheritdoc |
||
68 | */ |
||
69 | public function applyVersion(string $asset): string |
||
76 | } |
||
77 | } |
||
78 |