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