Doctrine\ORM\EntityManager::__construct
Creates a new EntityManager that operates on the given database connection and uses the given Configuration and EventManager implementations.
Signature
protected function __construct(Connection
$conn,
Configuration
$config,
EventManager
$eventManager )
Parameters
$conn
— \Doctrine\DBAL\Connection
$config
— \Doctrine\ORM\Configuration
$eventManager
— \Doctrine\Common\EventManager