Doctrine\Common\Persistence\AbstractManagerRegistry::__construct PHP 메소드

__construct() 공개 메소드

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

예제 #1
0
파일: Registry.php 프로젝트: kdyby/doctrine
 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