| 1 | <?php |
||
| 29 | class UpdateCommand extends AbstractCommand |
||
| 30 | { |
||
| 31 | /** |
||
| 32 | * Available arguments for this command. |
||
| 33 | * |
||
| 34 | * @var array $arguments |
||
| 35 | */ |
||
| 36 | protected $arguments = [ |
||
| 37 | 'branch' => '' |
||
| 38 | ]; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritdoc} |
||
| 42 | * |
||
| 43 | * @var mixed $options |
||
| 44 | */ |
||
| 45 | protected $options = [ |
||
| 46 | '--clean' => false, |
||
| 47 | '--check' => false, |
||
| 48 | '--date' => '', |
||
| 49 | '--rev' => '' |
||
| 50 | ]; |
||
| 51 | |||
| 52 | public function getBranch() |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @param string $branch |
||
| 59 | * |
||
| 60 | * @return void |
||
| 61 | */ |
||
| 62 | public function setBranch($branch) |
||
| 66 | |||
| 67 | /** |
||
| 68 | * {@inheritdoc} |
||
| 69 | */ |
||
| 70 | public function __toString() |
||
| 79 | } |
||
| 80 |