class ConsoleRunner (View source)

Handles running the Console Tools inside Symfony Console context.

Methods

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

Runs console with the given helperset.

static Application
createApplication(HelperSet $helperSet, array $commands = [])

Creates a console application with the given helperset and optional commands.

static void
addCommands(Application $cli)

No description

Details

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

Runs console with the given helperset.

Parameters

HelperSet $helperSet
Command[] $commands

Return Value

void

static Application createApplication(HelperSet $helperSet, array $commands = [])

Creates a console application with the given helperset and optional commands.

Parameters

HelperSet $helperSet
array $commands

Return Value

Application

static void addCommands(Application $cli)

Parameters

Application $cli

Return Value

void