1 | <?php |
||
43 | class ImportCommand extends AbstractCommand |
||
44 | { |
||
45 | /** |
||
46 | * Available arguments for this command. |
||
47 | * |
||
48 | * @var array $arguments |
||
49 | */ |
||
50 | protected $arguments = [ |
||
51 | 'patch' => [] |
||
52 | ]; |
||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | * |
||
57 | * @var mixed $options |
||
58 | */ |
||
59 | protected $options = [ |
||
60 | '--strip' => '', |
||
61 | '--edit' => false, |
||
62 | '--no-commit' => false, |
||
63 | '--bypass' => false, |
||
64 | '--exact' => false, |
||
65 | '--import-branch' => false, |
||
66 | '--message' => '', |
||
67 | '--logfile' => '', |
||
68 | '--date' => '', |
||
69 | '--user' => '', |
||
70 | '--similarity' => '' |
||
71 | ]; |
||
72 | |||
73 | /** |
||
74 | * @return array |
||
75 | */ |
||
76 | 1 | public function getPatch() |
|
80 | |||
81 | /** |
||
82 | * @param string $patch |
||
83 | * |
||
84 | * @return void |
||
85 | */ |
||
86 | 1 | public function addPatch($patch) |
|
90 | |||
91 | /** |
||
92 | * {@inheritdoc} |
||
93 | */ |
||
94 | 1 | public function __toString() |
|
103 | } |
||
104 |