Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (Driver $driver, LoggerInterface $logger) | |
execute ($command, array $arguments=[]) | |
Class is separate from \Magento|Framework\Shell because logging behavior is different, and relies on ObjectManager being available.
__construct | ( | Driver | $driver, |
LoggerInterface | $logger | ||
) |
execute | ( | $command, | |
array | $arguments = [] |
||
) |
Execute a command through the command line, passing properly escaped arguments
string | $command | Command with optional argument markers 's' |
string[] | $arguments Argument values to substitute markers with |
Implements ShellInterface.
Definition at line 52 of file Shell.php.