1 | <?php |
||
22 | class PluginArgument extends AbstractOptions |
||
23 | { |
||
24 | /** |
||
25 | * @var HelperInterface |
||
26 | */ |
||
27 | protected $helper; |
||
28 | |||
29 | /** |
||
30 | * @var NodeInterface |
||
31 | */ |
||
32 | protected $node; |
||
33 | |||
34 | /** |
||
35 | * @var NodeList |
||
36 | */ |
||
37 | protected $nodes; |
||
38 | |||
39 | /** |
||
40 | * @var array |
||
41 | */ |
||
42 | protected $spec = []; |
||
43 | |||
44 | /** |
||
45 | * @var Translation |
||
46 | */ |
||
47 | protected $translation; |
||
48 | |||
49 | /** |
||
50 | * @var Translation |
||
51 | */ |
||
52 | protected $varTranslation; |
||
53 | |||
54 | /** |
||
55 | * @var bool |
||
56 | */ |
||
57 | protected $stopManipulation = false; |
||
58 | |||
59 | /** |
||
60 | * @return HelperInterface |
||
61 | */ |
||
62 | public function getHelper() |
||
66 | |||
67 | /** |
||
68 | * @param HelperInterface $helper |
||
69 | * @return self |
||
70 | */ |
||
71 | public function setHelper(HelperInterface $helper) |
||
76 | |||
77 | /** |
||
78 | * @return NodeInterface |
||
79 | */ |
||
80 | public function getNode() |
||
84 | |||
85 | /** |
||
86 | * @param NodeInterface $node |
||
87 | * @return self |
||
88 | */ |
||
89 | public function setNode(NodeInterface $node) |
||
94 | |||
95 | /** |
||
96 | * @return NodeList |
||
97 | */ |
||
98 | public function getNodes() |
||
102 | |||
103 | /** |
||
104 | * @param NodeList $nodes |
||
105 | * @return self |
||
106 | */ |
||
107 | public function setNodes(NodeList $nodes) |
||
112 | |||
113 | /** |
||
114 | * @return array |
||
115 | */ |
||
116 | public function getSpec() |
||
120 | |||
121 | /** |
||
122 | * @param array $spec |
||
123 | * @return self |
||
124 | */ |
||
125 | public function setSpec(array $spec) |
||
130 | |||
131 | /** |
||
132 | * @return Translation |
||
133 | */ |
||
134 | public function getTranslation() |
||
138 | |||
139 | /** |
||
140 | * @param Translation $translation |
||
141 | * @return self |
||
142 | */ |
||
143 | public function setTranslation(Translation $translation) |
||
148 | |||
149 | /** |
||
150 | * @return Translation |
||
151 | */ |
||
152 | public function getVarTranslation() |
||
156 | |||
157 | /** |
||
158 | * @param Translation $varTranslation |
||
159 | * @return self |
||
160 | */ |
||
161 | public function setVarTranslation(Translation $varTranslation) |
||
166 | |||
167 | /** |
||
168 | * @return bool |
||
169 | */ |
||
170 | public function isManipulationStopped() |
||
174 | |||
175 | /** |
||
176 | * @param bool $flag |
||
177 | * @return self |
||
178 | */ |
||
179 | public function stopManipulation($flag = true) |
||
184 | } |
||
185 |