You are here

public function ManagerRegistry::getManager in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/ManagerRegistry.php \Doctrine\Common\Persistence\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 vendor/doctrine/common/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php

File

vendor/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);