class ConsoleRunner (View source)

Handles running the Console Tools inside Symfony Console context.

Methods

static HelperSet
createHelperSet(Connection $connection)

Create a Symfony Console HelperSet

static void
run(HelperSet $helperSet, Command[] $commands = [])

Runs console with the given helperset.

static void
addCommands(Application $cli)

No description

static 
printCliConfigTemplate()

Prints the instructions to create a configuration file

Details

static HelperSet createHelperSet(Connection $connection)

Create a Symfony Console HelperSet

Parameters

Connection $connection

Return Value

HelperSet

static void run(HelperSet $helperSet, Command[] $commands = [])

Runs console with the given helperset.

Parameters

HelperSet $helperSet
Command[] $commands

Return Value

void

static void addCommands(Application $cli)

Parameters

Application $cli

Return Value

void

static printCliConfigTemplate()

Prints the instructions to create a configuration file