Gets all connection names.
public getConnectionNames ( ) : array | ||
리턴 | array | An array of connection names |
public function __construct(RegistryInterface $registry, DbalLogger $logger = null) { $this->connections = $registry->getConnectionNames(); $this->managers = $registry->getEntityManagerNames(); $this->logger = $logger; }