Doctrine\Bundle\DoctrineBundle\Command\Proxy\DoctrineCommandHelper
Provides some helper and convenience methods to configure doctrine commands in the context of bundles and multiple connections/entity managers.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class DoctrineCommandHelper
{
- // methods
- public static void setApplicationEntityManager()
- public static void setApplicationConnection()
Methods
public
- setApplicationConnection() — Convenience method to push the helper sets of a given connection into the application.
- setApplicationEntityManager() — Convenience method to push the helper sets of a given entity manager into the application.