1 | <?php |
||
26 | class AutoConfig |
||
27 | { |
||
28 | /** |
||
29 | * The PHP interpreter to run. |
||
30 | * |
||
31 | * @var null|string |
||
32 | */ |
||
33 | private $phpInterpreter = null; |
||
34 | |||
35 | /** |
||
36 | * Command line arguments to add. |
||
37 | * |
||
38 | * @var array |
||
39 | */ |
||
40 | private $commandLineArguments = []; |
||
41 | |||
42 | /** |
||
43 | * Retrieve phpInterpreter |
||
44 | * |
||
45 | * @return null|string |
||
46 | */ |
||
47 | public function getPhpInterpreter() |
||
51 | |||
52 | /** |
||
53 | * Set phpInterpreter. |
||
54 | * |
||
55 | * @param null|string $phpInterpreter The new value. |
||
56 | * |
||
57 | * @return AutoConfig |
||
58 | */ |
||
59 | public function setPhpInterpreter($phpInterpreter) |
||
65 | |||
66 | /** |
||
67 | * Retrieve command line arguments. |
||
68 | * |
||
69 | * @return array |
||
70 | */ |
||
71 | public function getCommandLineArguments() |
||
75 | |||
76 | /** |
||
77 | * Add a command line argument. |
||
78 | * |
||
79 | * @param string $argument The argument to add. |
||
80 | * |
||
81 | * @return AutoConfig |
||
82 | */ |
||
83 | public function addCommandLineArgument($argument) |
||
89 | } |
||
90 |