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