class ConsoleRunner (View source)

Handles running the Console Tools inside Symfony Console context.

Methods

static HelperSet
createHelperSet(EntityManagerInterface $entityManager)

Create a Symfony Console HelperSet

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

Runs console with the given helperset.

static void
addCommands(Application $cli)

No description

static 
printCliConfigTemplate()

No description

Details

static HelperSet createHelperSet(EntityManagerInterface $entityManager)

Create a Symfony Console HelperSet

Parameters

EntityManagerInterface $entityManager

Return Value

HelperSet

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

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()