1 | <?php |
||
39 | class BundleCommand extends AbstractCommand |
||
40 | { |
||
41 | /** |
||
42 | * Available arguments for this command. |
||
43 | * |
||
44 | * @var array $arguments |
||
45 | */ |
||
46 | protected $arguments = [ |
||
47 | 'file' => '', |
||
48 | 'destination' => '', |
||
49 | ]; |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | * |
||
54 | * @var mixed $options |
||
55 | */ |
||
56 | protected $options = [ |
||
57 | '--force' => false, |
||
58 | '--rev' => [], |
||
59 | '--branch' => [], |
||
60 | '--base' => [], |
||
61 | '--all' => false, |
||
62 | '--type' => '', |
||
63 | '--ssh' => '', |
||
64 | '--remotecmd' => '', |
||
65 | '--insecure' => false |
||
66 | ]; |
||
67 | |||
68 | /** |
||
69 | * @return string |
||
70 | */ |
||
71 | 1 | public function getFile() |
|
75 | |||
76 | /** |
||
77 | * @param string $file |
||
78 | * |
||
79 | * @return void |
||
80 | */ |
||
81 | 1 | public function setFile($file) |
|
85 | |||
86 | /** |
||
87 | * Get the destination. |
||
88 | * |
||
89 | * @return string |
||
90 | */ |
||
91 | 1 | public function getDestination() |
|
95 | |||
96 | /** |
||
97 | * Set the destination. |
||
98 | * |
||
99 | * @param string $destination |
||
100 | * |
||
101 | * @return void |
||
102 | */ |
||
103 | 1 | public function setDestination($destination) |
|
107 | |||
108 | /** |
||
109 | * {@inheritdoc} |
||
110 | */ |
||
111 | 1 | public function __toString() |
|
121 | } |
||
122 |