Symfony\Bridge\Doctrine\RegistryInterface
References Doctrine connections and entity managers.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
interface RegistryInterface
extends ManagerRegistry
{
- // methods
- public string getDefaultEntityManagerName()
- public EntityManager getEntityManager()
- public array getEntityManagers()
- public EntityManager resetEntityManager()
- public string getEntityNamespace()
- public array getEntityManagerNames()
- public EntityManager|null getEntityManagerForClass()
- // Inherited methods from ManagerRegistry
- public string getDefaultManagerName()
- public ObjectManager getManager()
- public array getManagers()
- public ObjectManager resetManager()
- public string getAliasNamespace()
- public array getManagerNames()
- public ObjectRepository getRepository()
- public ObjectManager|null getManagerForClass()
- // Inherited methods from ConnectionRegistry
- public string getDefaultConnectionName()
- public getConnection()
- public array getConnections()
- public array getConnectionNames()
Hierarchy
Extends
Implemented by
Methods
public
- getDefaultEntityManagerName() — Gets the default entity manager name.
- getEntityManager() — Gets a named entity manager.
- getEntityManagerForClass() — Gets the entity manager associated with a given class.
- getEntityManagerNames() — Gets all connection names.
- getEntityManagers() — Gets an array of all registered entity managers
- getEntityNamespace() — Resolves a registered namespace alias to the full namespace.
- resetEntityManager() — Resets a named entity manager.
Inherited from Doctrine\Common\Persistence\ManagerRegistry
public
- getAliasNamespace() — Resolves a registered namespace alias to the full namespace.
- getDefaultManagerName() — Gets the default object manager name.
- getManager() — Gets a named object manager.
- getManagerForClass() — Gets the object manager associated with a given class.
- getManagerNames() — Gets all connection names.
- getManagers() — Gets an array of all registered object managers
- getRepository() — Gets the ObjectRepository for an persistent object.
- resetManager() — Resets a named object manager.
Inherited from Doctrine\Common\Persistence\ConnectionRegistry
public
- getConnection() — Gets the named connection.
- getConnectionNames() — Gets all connection names.
- getConnections() — Gets an array of all registered connections
- getDefaultConnectionName() — Gets the default connection name.