1 | <?php |
||
16 | final class Ssr extends ConfigurationAnnotation |
||
17 | { |
||
18 | /** |
||
19 | * @var string entry point |
||
20 | */ |
||
21 | private $app; |
||
22 | |||
23 | /** |
||
24 | * @var array |
||
25 | */ |
||
26 | private $state = ['*']; |
||
27 | |||
28 | /** |
||
29 | * @var array |
||
30 | */ |
||
31 | private $metas = []; |
||
32 | |||
33 | private $cache = false; |
||
34 | |||
35 | /** |
||
36 | * @return string |
||
37 | */ |
||
38 | public function getApp() |
||
42 | |||
43 | /** |
||
44 | * @param string $app |
||
45 | * @return $this |
||
46 | */ |
||
47 | public function setApp($app) |
||
52 | |||
53 | /** |
||
54 | * @return array |
||
55 | */ |
||
56 | public function getState() |
||
60 | |||
61 | /** |
||
62 | * @param array $state |
||
63 | * @return $this |
||
64 | */ |
||
65 | public function setState($state) |
||
70 | |||
71 | /** |
||
72 | * @return array |
||
73 | */ |
||
74 | public function getMetas() |
||
78 | |||
79 | /** |
||
80 | * @param array $metas |
||
81 | * @return $this |
||
82 | */ |
||
83 | public function setMetas($metas) |
||
88 | |||
89 | /** |
||
90 | * @return bool |
||
91 | */ |
||
92 | public function isCache(): bool |
||
96 | |||
97 | /** |
||
98 | * @param bool $cache |
||
99 | * @return $this |
||
100 | */ |
||
101 | public function setCache($cache) |
||
106 | |||
107 | |||
108 | |||
109 | public function getAliasName() |
||
113 | |||
114 | public function allowArray() |
||
118 | |||
119 | |||
120 | } |