SlaxWeb\Bootstrap\Commands\Component\RemoveCommand::configure |
( |
| ) |
|
|
protected |
Configure the command
Prepare the command for inclussion into the CLI Application Slaxer.
- Returns
- void
SlaxWeb\Bootstrap\Commands\Component\RemoveCommand::configure |
( |
| ) |
|
|
protected |
Configure the command
Prepare the command for inclussion into the CLI Application Slaxer.
- Returns
- void
SlaxWeb\Bootstrap\Commands\Component\RemoveCommand::execute |
( |
InputInterface |
$input, |
|
|
OutputInterface |
$output |
|
) |
| |
|
protected |
Execute the command
Check that the component exists on packagist. If no slash is found in the name, component name is automatically prepended by 'slaxweb/', if the package exists, it checks that the 'composer' command is found and then proceeds by removing the package with 'composer' if the component is installed.
- Parameters
-
\Symfony\Component\Console\Input\InputInterface | $input | Command Input Object |
\Symfony\Component\Console\Output\OutputInterface | $output | Command Output Object |
- Returns
- void
SlaxWeb\Bootstrap\Commands\Component\RemoveCommand::execute |
( |
InputInterface |
$input, |
|
|
OutputInterface |
$output |
|
) |
| |
|
protected |
Execute the command
Ensure the component is indeed installed, and run component configuration again. This will copy all the configuraiton over the existing one, so the executor is warned about this, and must confirm this action.
- Parameters
-
\Symfony\Component\Console\Input\InputInterface | $input | Command Input Object |
\Symfony\Component\Console\Output\OutputInterface | $output | Command Output Object |
- Returns
- void
The documentation for this class was generated from the following files:
- /opt/slax0rDev/slaxweb/bootstrap/src/Commands/Component/ReconfigureCommand.php
- /opt/slax0rDev/slaxweb/bootstrap/src/Commands/Component/RemoveCommand.php