Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct ($name='UNKNOWN', $version='UNKNOWN') | |
doRun (Console\Input\InputInterface $input, Console\Output\OutputInterface $output) | |
![]() | |
bootstrap (array $configuration) | |
Data Fields | |
const | INPUT_KEY_BOOTSTRAP = 'bootstrap' |
const | RETURN_SUCCESS = 0 |
const | RETURN_FAILURE = 1 |
Protected Member Functions | |
getDefaultCommands () | |
getVendorCommands ($objectManager) | |
Magento 2 CLI Application. This is the hood for all command line tools supported by Magento.
{} @SuppressWarnings(PHPMD.CouplingBetweenObjects)
__construct | ( | $name = 'UNKNOWN' , |
|
$version = 'UNKNOWN' |
|||
) |
doRun | ( | Console\Input\InputInterface | $input, |
Console\Output\OutputInterface | $output | ||
) |
|
protected |
|
protected |
Retrieves vendor commands.
ObjectManagerInterface | $objectManager | the object manager |
Definition at line 204 of file Cli.php.
const INPUT_KEY_BOOTSTRAP = 'bootstrap' |