1 | <?php |
||
10 | class Config |
||
11 | { |
||
12 | /** @var bool */ |
||
13 | private $cacheEnabled; |
||
14 | |||
15 | /** @var array|null */ |
||
16 | private $manifestAsArray; |
||
17 | |||
18 | /** @var string|null */ |
||
19 | private $manifestPath; |
||
20 | |||
21 | /** @var array */ |
||
22 | private $manifestAutodetectPaths; |
||
23 | |||
24 | /** @var string|null */ |
||
25 | private $assetsPath; |
||
26 | |||
27 | /** @var string */ |
||
28 | private $publicPath; |
||
29 | |||
30 | /** @var string */ |
||
31 | private $missingAssetPolicy; |
||
32 | |||
33 | /** @var string */ |
||
34 | private $missingManifestPolicy; |
||
35 | |||
36 | /** @var string */ |
||
37 | private $missingRevisionPolicy; |
||
38 | |||
39 | /** @var string */ |
||
40 | private $defaultFormat; |
||
41 | |||
42 | /** @var string */ |
||
43 | private $hash; |
||
44 | |||
45 | |||
46 | 1 | public function __construct(array $config) |
|
70 | |||
71 | |||
72 | public function isCacheEnabled(): bool |
||
76 | |||
77 | |||
78 | public function getManifestAsArray(): ?array |
||
82 | |||
83 | |||
84 | public function getManifestPath(): ?string |
||
88 | |||
89 | |||
90 | public function getManifestAutodetectPaths(): array |
||
94 | |||
95 | |||
96 | public function getAssetsPath(): string |
||
100 | |||
101 | |||
102 | public function getPublicPath(): string |
||
106 | |||
107 | |||
108 | public function getMissingAssetPolicy(): string |
||
112 | |||
113 | |||
114 | public function getMissingManifestPolicy(): string |
||
118 | |||
119 | |||
120 | public function getMissingRevisionPolicy(): string |
||
124 | |||
125 | |||
126 | public function getDefaultFormat(): string |
||
130 | |||
131 | |||
132 | public function getHash(): string |
||
136 | } |
||
137 |