abstract class DoctrineCommandHelper (View source)

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

Methods

static 
setApplicationEntityManager(Application $application, $emName)

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

static 
setApplicationConnection(Application $application, $connName)

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

Details

static setApplicationEntityManager(Application $application, $emName)

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

Parameters

Application $application
$emName

static setApplicationConnection(Application $application, $connName)

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

Parameters

Application $application
$connName