public function getEntityManagerNames() { return $this->entityManagers; }
public function __construct(Registry $registry, DbalLogger $logger = null) { $this->connections = $registry->getConnectionNames(); $this->managers = $registry->getEntityManagerNames(); $this->logger = $logger; }