1 | <?php |
||
29 | class ConfigCommand extends AbstractCommand |
||
30 | { |
||
31 | /** |
||
32 | * Available arguments for this command. |
||
33 | * |
||
34 | * @var array $arguments |
||
35 | */ |
||
36 | protected $arguments = [ |
||
37 | 'name' => [] |
||
38 | ]; |
||
39 | |||
40 | /** |
||
41 | * Get the name argument. |
||
42 | * |
||
43 | * @return array |
||
44 | */ |
||
45 | 1 | public function getName() |
|
49 | |||
50 | /** |
||
51 | * Add a name to the argument. |
||
52 | * |
||
53 | * @param string $name |
||
54 | * |
||
55 | * @return ConfigCommand |
||
56 | */ |
||
57 | 1 | public function addName($name) |
|
63 | |||
64 | /** |
||
65 | * {@inheritdoc} |
||
66 | * |
||
67 | * @var mixed $options |
||
68 | */ |
||
69 | protected $options = [ |
||
70 | '--untrusted' => false, |
||
71 | '--edit' => false, |
||
72 | '--local' => false, |
||
73 | '--global' => false |
||
74 | ]; |
||
75 | |||
76 | /** |
||
77 | * {@inheritdoc} |
||
78 | */ |
||
79 | 1 | public function __toString() |
|
88 | } |
||
89 |