1 | <?php |
||
25 | class UpgradeCommandHandler |
||
26 | { |
||
27 | /** |
||
28 | * @var RootPackageFileManager |
||
29 | */ |
||
30 | private $packageFileManager; |
||
31 | |||
32 | /** |
||
33 | * Creates the command handler. |
||
34 | * |
||
35 | * @param RootPackageFileManager $packageFileManager The manager of the |
||
36 | * puli.json file. |
||
37 | */ |
||
38 | public function __construct(RootPackageFileManager $packageFileManager) |
||
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 | public function handle(Args $args, IO $io) |
||
73 | } |
||
74 |