1 | <?php |
||
9 | final class Options extends AbstractOptions implements OptionsInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var bool |
||
13 | */ |
||
14 | private $stylesheetEnabled = false; |
||
15 | |||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | private $stylesheetMode = self::MODE_PRELOAD; |
||
20 | |||
21 | /** |
||
22 | * @var bool |
||
23 | */ |
||
24 | private $scriptEnabled = false; |
||
25 | |||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | private $scriptMode = self::MODE_PRELOAD; |
||
30 | |||
31 | /** |
||
32 | * @var bool |
||
33 | */ |
||
34 | private $http2PushEnabled = false; |
||
35 | |||
36 | 4 | public function isStylesheetEnabled(): bool |
|
40 | |||
41 | 4 | public function setStylesheetEnabled(bool $stylesheetEnabled): void |
|
45 | |||
46 | 4 | public function getStylesheetMode(): string |
|
50 | |||
51 | 4 | public function setStylesheetMode(string $stylesheetMode): void |
|
55 | |||
56 | 4 | public function isHttp2PushEnabled(): bool |
|
60 | |||
61 | 4 | public function setHttp2PushEnabled(bool $http2PushEnabled): void |
|
65 | |||
66 | 2 | public function isScriptEnabled(): bool |
|
70 | |||
71 | 2 | public function setScriptEnabled(bool $scriptEnabled): void |
|
75 | |||
76 | 2 | public function getScriptMode(): string |
|
80 | |||
81 | 2 | public function setScriptMode(string $scriptMode): void |
|
85 | } |
||
86 |