1 | <?php |
||
25 | class UpgradeCommandHandler |
||
26 | { |
||
27 | /** |
||
28 | * @var RootModuleFileManager |
||
29 | */ |
||
30 | private $moduleFileManager; |
||
31 | |||
32 | /** |
||
33 | * Creates the command handler. |
||
34 | * |
||
35 | * @param RootModuleFileManager $moduleFileManager The manager of the |
||
36 | * puli.json file |
||
37 | */ |
||
38 | 3 | public function __construct(RootModuleFileManager $moduleFileManager) |
|
42 | |||
43 | /** |
||
44 | * Handles the "upgrade" command. |
||
45 | * |
||
46 | * @param Args $args The console arguments |
||
47 | * @param IO $io The I/O |
||
48 | * |
||
49 | * @return int The status code |
||
50 | */ |
||
51 | 3 | public function handle(Args $args, IO $io) |
|
73 | } |
||
74 |