public function ManagerRegistry::getManagers in Plug 7
Gets an array of all registered object managers.
Return value
\Doctrine\Common\Persistence\ObjectManager[] An array of ObjectManager instances
1 method overrides ManagerRegistry::getManagers()
- AbstractManagerRegistry::getManagers in lib/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ AbstractManagerRegistry.php - Gets an array of all registered object managers.
File
- lib/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ManagerRegistry.php, line 54
Class
- ManagerRegistry
- Contract covering object managers for a Doctrine persistence layer ManagerRegistry class to implement.
Namespace
Doctrine\Common\PersistenceCode
public function getManagers();