src/IPub/Packages/Commands/DisableCommand.php 1 location
|
@@ 57-61 (lines=5) @@
|
54 |
|
protected function execute(Input\InputInterface $input, Output\OutputInterface $output) : void |
55 |
|
{ |
56 |
|
// Register available |
57 |
|
foreach ($this->packageManager->registerAvailable() as $item) { |
58 |
|
foreach ($item as $name => $action) { |
59 |
|
$output->writeln(sprintf('<info>%s : %s</info>', $action, $name)); |
60 |
|
} |
61 |
|
} |
62 |
|
|
63 |
|
$package = $this->repository->findPackage($input->getArgument('package')); |
64 |
|
|
src/IPub/Packages/Commands/EnableCommand.php 1 location
|
@@ 59-63 (lines=5) @@
|
56 |
|
protected function execute(Input\InputInterface $input, Output\OutputInterface $output) : void |
57 |
|
{ |
58 |
|
// Register available |
59 |
|
foreach ($this->packageManager->registerAvailable() as $item) { |
60 |
|
foreach ($item as $name => $action) { |
61 |
|
$output->writeln(sprintf('<info>%s : %s</info>', $action, $name)); |
62 |
|
} |
63 |
|
} |
64 |
|
|
65 |
|
$package = $this->repository->findPackage($input->getArgument('package')); |
66 |
|
|
src/IPub/Packages/Commands/ListCommand.php 1 location
|
@@ 54-58 (lines=5) @@
|
51 |
|
protected function execute(Input\InputInterface $input, Output\OutputInterface $output) : void |
52 |
|
{ |
53 |
|
// Register available |
54 |
|
foreach ($this->packageManager->registerAvailable() as $item) { |
55 |
|
foreach ($item as $name => $action) { |
56 |
|
$output->writeln(sprintf('<info>%s : %s</info>', $action, $name)); |
57 |
|
} |
58 |
|
} |
59 |
|
|
60 |
|
try { |
61 |
|
$packages = $this->repository->getPackages(); |
src/IPub/Packages/Commands/SyncCommand.php 1 location
|
@@ 62-66 (lines=5) @@
|
59 |
|
} |
60 |
|
|
61 |
|
// Register available |
62 |
|
foreach ($this->packageManager->registerAvailable() as $item) { |
63 |
|
foreach ($item as $name => $action) { |
64 |
|
$output->writeln(sprintf('<info>%s : %s</info>', $action, $name)); |
65 |
|
} |
66 |
|
} |
67 |
|
|
68 |
|
try { |
69 |
|
foreach ($this->packageManager->enableAvailable() as $item) { |