1 | <?php |
||
9 | final class Options extends AbstractOptions implements OptionsInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var bool |
||
13 | */ |
||
14 | private $stylesheetEnabled = false; |
||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $stylesheetMode = self::MODE_PRELOAD; |
||
19 | /** |
||
20 | * @var bool |
||
21 | */ |
||
22 | private $scriptEnabled = false; |
||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | private $scriptMode = self::MODE_PRELOAD; |
||
27 | /** |
||
28 | * @var bool |
||
29 | */ |
||
30 | private $http2PushEnabled = false; |
||
31 | |||
32 | /** |
||
33 | * @return bool |
||
34 | */ |
||
35 | 4 | public function isStylesheetEnabled(): bool |
|
39 | |||
40 | /** |
||
41 | * @param bool $stylesheetEnabled |
||
42 | */ |
||
43 | 4 | public function setStylesheetEnabled(bool $stylesheetEnabled) |
|
47 | |||
48 | /** |
||
49 | * @return string |
||
50 | */ |
||
51 | 4 | public function getStylesheetMode(): string |
|
55 | |||
56 | /** |
||
57 | * @param string $stylesheetMode |
||
58 | */ |
||
59 | 4 | public function setStylesheetMode(string $stylesheetMode) |
|
63 | |||
64 | /** |
||
65 | * @return bool |
||
66 | */ |
||
67 | 4 | public function isHttp2PushEnabled(): bool |
|
71 | |||
72 | /** |
||
73 | * @param bool $http2PushEnabled |
||
74 | */ |
||
75 | 4 | public function setHttp2PushEnabled(bool $http2PushEnabled) |
|
79 | |||
80 | /** |
||
81 | * @return bool |
||
82 | */ |
||
83 | 2 | public function isScriptEnabled(): bool |
|
87 | |||
88 | /** |
||
89 | * @param bool $scriptEnabled |
||
90 | */ |
||
91 | 2 | public function setScriptEnabled(bool $scriptEnabled) |
|
95 | |||
96 | /** |
||
97 | * @return string |
||
98 | */ |
||
99 | 2 | public function getScriptMode(): string |
|
103 | |||
104 | /** |
||
105 | * @param string $scriptMode |
||
106 | */ |
||
107 | 2 | public function setScriptMode(string $scriptMode) |
|
111 | } |
||
112 |