1 | <?php namespace Magestead\Helper; |
||
13 | class Options |
||
14 | { |
||
15 | const BOX_PREFIX = 'richdynamix/magestead-'; |
||
16 | protected $_app = 'magento2'; |
||
17 | protected $_server; |
||
18 | protected $_phpVer = '56'; |
||
19 | protected $_os = 'centos65'; |
||
20 | protected $_box; |
||
21 | protected $_m2Username; |
||
22 | protected $_m2Password; |
||
23 | protected $_ipAddress; |
||
24 | protected $_memorylimit; |
||
25 | protected $_cpus; |
||
26 | protected $_locale; |
||
27 | protected $_currency; |
||
28 | protected $_baseUrl; |
||
29 | protected $_repoUrl = ''; |
||
30 | |||
31 | /** |
||
32 | * Options constructor. |
||
33 | * @param $helper |
||
34 | * @param InputInterface $input |
||
35 | * @param OutputInterface $output |
||
36 | */ |
||
37 | public function __construct($helper, InputInterface $input, OutputInterface $output) |
||
50 | /** |
||
51 | * @return array |
||
52 | */ |
||
53 | public function getAllOptions() |
||
72 | |||
73 | /** |
||
74 | * @param $helper |
||
75 | * @param InputInterface $input |
||
76 | * @param OutputInterface $output |
||
77 | */ |
||
78 | protected function setVagrantSettings($helper, InputInterface $input, OutputInterface $output) |
||
91 | |||
92 | /** |
||
93 | * @param $helper |
||
94 | * @param InputInterface $input |
||
95 | * @param OutputInterface $output |
||
96 | */ |
||
97 | protected function setApplicationSettings($helper, InputInterface $input, OutputInterface $output) |
||
118 | |||
119 | /** |
||
120 | * @param $helper |
||
121 | * @param InputInterface $input |
||
122 | * @param OutputInterface $output |
||
123 | * @return bool |
||
124 | */ |
||
125 | protected function setMagento2Settings($helper, InputInterface $input, OutputInterface $output) |
||
133 | |||
134 | /** |
||
135 | * @param $helper |
||
136 | * @param InputInterface $input |
||
137 | * @param OutputInterface $output |
||
138 | */ |
||
139 | protected function setVersionControlSettings($helper, InputInterface $input, OutputInterface $output) |
||
148 | |||
149 | /** |
||
150 | * @param $helper |
||
151 | * @param InputInterface $input |
||
152 | * @param OutputInterface $output |
||
153 | */ |
||
154 | protected function askForAuth($helper, InputInterface $input, OutputInterface $output) |
||
162 | |||
163 | /** |
||
164 | * @param $helper |
||
165 | * @param InputInterface $input |
||
166 | * @param OutputInterface $output |
||
167 | * @return bool |
||
168 | */ |
||
169 | protected function verifyAuth($helper, InputInterface $input, OutputInterface $output) |
||
191 | |||
192 | /** |
||
193 | * @param $helper |
||
194 | * @param InputInterface $input |
||
195 | * @param OutputInterface $output |
||
196 | */ |
||
197 | protected function setPhp($helper, InputInterface $input, OutputInterface $output) |
||
208 | |||
209 | /** |
||
210 | * Set box name from concat user options |
||
211 | */ |
||
212 | protected function setVagrantBox() |
||
216 | |||
217 | /** |
||
218 | * @param $helper |
||
219 | * @param InputInterface $input |
||
220 | * @param OutputInterface $output |
||
221 | */ |
||
222 | protected function setServerConfig($helper, InputInterface $input, OutputInterface $output) |
||
229 | |||
230 | /** |
||
231 | * @param $helper |
||
232 | * @param InputInterface $input |
||
233 | * @param OutputInterface $output |
||
234 | */ |
||
235 | protected function setWebServer($helper, InputInterface $input, OutputInterface $output) |
||
244 | |||
245 | /** |
||
246 | * @param $helper |
||
247 | * @param InputInterface $input |
||
248 | * @param OutputInterface $output |
||
249 | */ |
||
250 | protected function setOperatingSystem($helper, InputInterface $input, OutputInterface $output) |
||
259 | } |
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.