You are here

public function ManagerRegistry::getManager in Plug 7

Gets a named object manager.

Parameters

string $name The object manager name (null for the default one).:

Return value

\Doctrine\Common\Persistence\ObjectManager

1 method overrides ManagerRegistry::getManager()
AbstractManagerRegistry::getManager in lib/doctrine/common/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/ManagerRegistry.php, line 47

Class

ManagerRegistry
Contract covering object managers for a Doctrine persistence layer ManagerRegistry class to implement.

Namespace

Doctrine\Common\Persistence

Code

public function getManager($name = null);