1 | <?php |
||
7 | class UpdateAddonsTask extends BuildTask |
||
8 | { |
||
9 | /** |
||
10 | * {@inheritDoc} |
||
11 | * @var string |
||
12 | */ |
||
13 | protected $title = 'Update Add-ons'; |
||
14 | |||
15 | /** |
||
16 | * {@inheritDoc} |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $description = 'Updates add-ons from Packagist'; |
||
20 | |||
21 | /** |
||
22 | * @var AddonUpdater |
||
23 | */ |
||
24 | private $updater; |
||
25 | |||
26 | /** |
||
27 | * @param AddonUpdater $updater |
||
28 | */ |
||
29 | public function __construct(AddonUpdater $updater) |
||
33 | |||
34 | /** |
||
35 | * {@inheritDoc} |
||
36 | * @param SS_HTTPRequest $request |
||
37 | */ |
||
38 | public function run($request) |
||
45 | } |
||
46 |