You are here

public function AbstractManagerRegistry::__construct in Plug 7

Constructor.

Parameters

string $name:

array $connections:

array $managers:

string $defaultConnection:

string $defaultManager:

string $proxyInterfaceName:

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php, line 73

Class

AbstractManagerRegistry
Abstract implementation of the ManagerRegistry contract.

Namespace

Doctrine\Common\Persistence

Code

public function __construct($name, array $connections, array $managers, $defaultConnection, $defaultManager, $proxyInterfaceName) {
  $this->name = $name;
  $this->connections = $connections;
  $this->managers = $managers;
  $this->defaultConnection = $defaultConnection;
  $this->defaultManager = $defaultManager;
  $this->proxyInterfaceName = $proxyInterfaceName;
}