1 | <?php |
||
45 | class CommitCommand extends AbstractCommand |
||
46 | { |
||
47 | /** |
||
48 | * Available arguments for this command. |
||
49 | * |
||
50 | * @var array $arguments |
||
51 | */ |
||
52 | protected $arguments = [ |
||
53 | 'file' => [] |
||
54 | ]; |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | * |
||
59 | * @var mixed $options |
||
60 | */ |
||
61 | protected $options = [ |
||
62 | '--addremove' => false, |
||
63 | '--close-branch' => false, |
||
64 | '--amend' => false, |
||
65 | '--secret' => false, |
||
66 | '--edit' => false, |
||
67 | '--include' => [], |
||
68 | '--exclude' => [], |
||
69 | '--message' => '', |
||
70 | '--logfile' => '', |
||
71 | '--date' => '', |
||
72 | '--user' => '', |
||
73 | '--subrepos' => false |
||
74 | ]; |
||
75 | |||
76 | /** |
||
77 | * @return array |
||
78 | */ |
||
79 | 1 | public function getFile() |
|
83 | |||
84 | /** |
||
85 | * @param string $file |
||
86 | * |
||
87 | * @return void |
||
88 | */ |
||
89 | 1 | public function addFile($file) |
|
93 | |||
94 | /** |
||
95 | * {@inheritdoc} |
||
96 | */ |
||
97 | 1 | public function __toString() |
|
106 | } |
||
107 |