1 | <?php |
||
39 | class BackoutCommand extends AbstractCommand |
||
40 | { |
||
41 | /** |
||
42 | * Available arguments for this command. |
||
43 | * |
||
44 | * @var array $arguments |
||
45 | */ |
||
46 | protected $arguments = [ |
||
47 | 'rev' => '' |
||
48 | ]; |
||
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | * |
||
53 | * @var mixed $options |
||
54 | */ |
||
55 | protected $options = [ |
||
56 | '--merge' => false, |
||
57 | '--rev' => '', |
||
58 | '--tool' => '', |
||
59 | '--include' => [], |
||
60 | '--exclude' => [], |
||
61 | '--message' => '', |
||
62 | '--logfile' => '', |
||
63 | '--date' => '', |
||
64 | '--user' => '' |
||
65 | ]; |
||
66 | |||
67 | /** |
||
68 | * @return string |
||
69 | */ |
||
70 | 1 | public function getRevision() |
|
74 | |||
75 | /** |
||
76 | * @param string $revision |
||
77 | * |
||
78 | * @return void |
||
79 | */ |
||
80 | 1 | public function setRevision($revision) |
|
84 | |||
85 | /** |
||
86 | * {@inheritdoc} |
||
87 | */ |
||
88 | 1 | public function __toString() |
|
97 | } |
||
98 |