1 | <?php |
||
11 | class Download extends AbstractApi |
||
12 | { |
||
13 | /** @var string */ |
||
14 | protected $package = 'all.zip'; |
||
15 | |||
16 | /** @var string */ |
||
17 | protected $copyDestination = '/tmp'; |
||
18 | |||
19 | /** @var string */ |
||
20 | protected $branch; |
||
21 | |||
22 | /** |
||
23 | * {@inheritdoc} |
||
24 | */ |
||
25 | public function execute() |
||
46 | |||
47 | /** |
||
48 | * @param string $package |
||
49 | * |
||
50 | * @return Download |
||
51 | */ |
||
52 | public function setPackage($package) |
||
58 | |||
59 | /** |
||
60 | * @return string |
||
61 | */ |
||
62 | public function getPackage() |
||
66 | |||
67 | /** |
||
68 | * @param string $dest |
||
69 | * |
||
70 | * @return Download |
||
71 | */ |
||
72 | public function setCopyDestination($dest) |
||
78 | |||
79 | /** |
||
80 | * @return string |
||
81 | */ |
||
82 | public function getCopyDestination() |
||
86 | |||
87 | /** |
||
88 | * @return string |
||
89 | */ |
||
90 | public function getBranch() |
||
94 | |||
95 | /** |
||
96 | * @param string $branch |
||
97 | * |
||
98 | * @return Download |
||
99 | */ |
||
100 | public function setBranch($branch) |
||
106 | } |
||
107 |