Kdyby\Doctrine\EntityManager::__construct PHP Method

__construct() protected method

protected __construct ( Doctrine\DBAL\Connection $conn, Doctrine\ORM\Configuration $config, Doctrine\Common\EventManager $eventManager )
$conn Doctrine\DBAL\Connection
$config Doctrine\ORM\Configuration
$eventManager Doctrine\Common\EventManager
    protected function __construct(Doctrine\DBAL\Connection $conn, Doctrine\ORM\Configuration $config, Doctrine\Common\EventManager $eventManager)
    {
        parent::__construct($conn, $config, $eventManager);
        if ($conn instanceof Kdyby\Doctrine\Connection) {
            $conn->bindEntityManager($this);
        }
    }