ConsoleRunner
in package
Handles running the Console Tools inside Symfony Console context.
Tags
Table of Contents
Methods
- addCommands() : void
- printCliConfigTemplate() : void
- Prints the instructions to create a configuration file
- run() : void
- Runs console with the given connection provider.
Methods
addCommands()
public
static addCommands(Application $cli, ConnectionProvider $connectionProvider) : void
Parameters
- $cli : Application
- $connectionProvider : ConnectionProvider
printCliConfigTemplate()
Prints the instructions to create a configuration file
public
static printCliConfigTemplate() : void
Tags
run()
Runs console with the given connection provider.
public
static run(ConnectionProvider $connectionProvider[, array<string|int, Command> $commands = [] ]) : void
Parameters
- $connectionProvider : ConnectionProvider
- $commands : array<string|int, Command> = []