DoctrineCommandHelper
in package
Provides some helper and convenience methods to configure doctrine commands in the context of bundles and multiple connections/entity managers.
Table of Contents
- setApplicationConnection() : mixed
- Convenience method to push the helper sets of a given connection into the application.
- setApplicationEntityManager() : mixed
- Convenience method to push the helper sets of a given entity manager into the application.
Methods
setApplicationConnection()
Convenience method to push the helper sets of a given connection into the application.
public
static setApplicationConnection(Application $application, string $connName) : mixed
Parameters
- $application : Application
- $connName : string
Return values
mixed —setApplicationEntityManager()
Convenience method to push the helper sets of a given entity manager into the application.
public
static setApplicationEntityManager(Application $application, string $emName) : mixed
Parameters
- $application : Application
- $emName : string