1 | <?php |
||
9 | class Revision |
||
10 | { |
||
11 | /** @var Config */ |
||
12 | private $config; |
||
13 | |||
14 | /** @var string */ |
||
15 | private $assetPath; |
||
16 | |||
17 | /** @var string */ |
||
18 | private $rawValue; |
||
19 | |||
20 | /** @var bool */ |
||
21 | private $isVersion; |
||
22 | |||
23 | /** @var string */ |
||
24 | private $relativePath; |
||
25 | |||
26 | /** @var string */ |
||
27 | private $absolutePath; |
||
28 | |||
29 | /** @var string */ |
||
30 | private $relativeUrl; |
||
31 | |||
32 | |||
33 | 1 | public function __construct(Config $config, string $assetPath, ?string $revision) |
|
46 | |||
47 | |||
48 | public function getRawValue(): string |
||
52 | |||
53 | |||
54 | public function isVersionHash(): bool |
||
58 | |||
59 | |||
60 | public function getAssetPath(): string |
||
64 | |||
65 | |||
66 | public function getRelativePath(): string |
||
70 | |||
71 | |||
72 | public function getAbsolutePath(): string |
||
76 | |||
77 | |||
78 | public function getRelativeUrl(): string |
||
82 | } |
||
83 |