ConsoleRunner
in package
Handles running the Console Tools inside Symfony Console context.
Table of Contents
- addCommands() : void
- createHelperSet() : HelperSet
- Create a Symfony Console HelperSet
- printCliConfigTemplate() : mixed
- Prints the instructions to create a configuration file
- run() : void
- Runs console with the given helperset.
Methods
addCommands()
public
static addCommands(Application $cli) : void
Parameters
- $cli : Application
Return values
void —createHelperSet()
Create a Symfony Console HelperSet
public
static createHelperSet(Connection $connection) : HelperSet
Parameters
- $connection : Connection
Return values
HelperSet —printCliConfigTemplate()
Prints the instructions to create a configuration file
public
static printCliConfigTemplate() : mixed
Return values
mixed —run()
Runs console with the given helperset.
public
static run(HelperSet $helperSet[, array<string|int, Command> $commands = array() ]) : void