class CommandHelper extends CommandHelper

Provides some helper and convenience methods to configure doctrine commands in the context of bundles and multiple connections/entity managers.

Based on the DoctrineCommandHelper from the DoctrineMigrationsBundle

Methods

static 
setApplicationEntityManager(Application $application, string $emName)

Convenience method to push the helper sets of a given entity manager into the application.

static 
setApplicationConnection(Application $application, string $connName)

Convenience method to push the helper sets of a given connection into the application.

static 
setApplicationHelper(Application $application, InputInterface $input)

No description

Details

in CommandHelper at line 37
static setApplicationEntityManager(Application $application, string $emName)

Convenience method to push the helper sets of a given entity manager into the application.

Parameters

Application $application
string $emName

in CommandHelper at line 53
static setApplicationConnection(Application $application, string $connName)

Convenience method to push the helper sets of a given connection into the application.

Parameters

Application $application
string $connName

at line 34
static setApplicationHelper(Application $application, InputInterface $input)

Parameters

Application $application
InputInterface $input