1 | <?php |
||
35 | class ArchiveCommand extends AbstractCommand |
||
36 | { |
||
37 | /** |
||
38 | * Available arguments for this command. |
||
39 | * |
||
40 | * @var array $arguments |
||
41 | */ |
||
42 | protected $arguments = [ |
||
43 | 'dest' => '' |
||
44 | ]; |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | * |
||
49 | * @var mixed $options |
||
50 | */ |
||
51 | protected $options = [ |
||
52 | '--no-decode' => false, |
||
53 | '--prefix' => '', |
||
54 | '--rev' => '', |
||
55 | '--type' => '', |
||
56 | '--subrepos' => false, |
||
57 | '--include' => [], |
||
58 | '--exclude' => [], |
||
59 | ]; |
||
60 | |||
61 | /** |
||
62 | * Get the destination argument. |
||
63 | * |
||
64 | * @return string |
||
65 | */ |
||
66 | 1 | public function getDestination() |
|
70 | |||
71 | /** |
||
72 | * Set the destination argument. |
||
73 | * |
||
74 | * @param string $dest |
||
75 | * |
||
76 | * @return ArchiveCommand |
||
77 | */ |
||
78 | 1 | public function setDestination($dest) |
|
84 | |||
85 | /** |
||
86 | * {@inheritdoc} |
||
87 | */ |
||
88 | 1 | public function __toString() |
|
97 | } |
||
98 |