You are here

public function AbstractManagerRegistry::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php \Doctrine\Common\Persistence\AbstractManagerRegistry::__construct()

Constructor.

Parameters

string $name:

array $connections:

array $managers:

string $defaultConnection:

string $defaultManager:

string $proxyInterfaceName:

File

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