Doctrine\Common\Persistence\AbstractManagerRegistry::__construct PHP Method

__construct() public method

Constructor.
public __construct ( string $name, array $connections, array $managers, string $defaultConnection, string $defaultManager, string $proxyInterfaceName )
$name string
$connections array
$managers array
$defaultConnection string
$defaultManager string
$proxyInterfaceName string
    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;
    }

Usage Example

Exemplo n.º 1
0
 public function __construct(array $connections, array $managers, $defaultConnection, $defaultManager, Nette\DI\Container $serviceLocator)
 {
     parent::__construct('ORM', $connections, $managers, $defaultConnection, $defaultManager, 'Doctrine\\ORM\\Proxy\\Proxy');
     $this->serviceLocator = $serviceLocator;
 }
All Usage Examples Of Doctrine\Common\Persistence\AbstractManagerRegistry::__construct