function ManagerRegistry::getManager

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 drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/ManagerRegistry.php, line 48

Class

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

Namespace

Doctrine\Common\Persistence

Code

function getManager($name = null);