DatabaseDriverRegistry
final class DatabaseDriverRegistry (View source)
Owns driver and schema-grammar factories registered for supported connection drivers.
Methods
registerDriver(Driver $driver, callable $factory)
void
registerSchemaGrammar(Driver $driver, callable $factory)
void
resolveDriver(Driver $driver, ConnectionInterface $connection, DatabaseConfig $config, ContainerInterface $container)
Resolves the effective value from the configured database dependencies and input.
Resolves the effective value from the configured database dependencies and input.
Details
registerDriver
void
registerDriver(Driver $driver, callable $factory)
No description
registerSchemaGrammar
void
registerSchemaGrammar(Driver $driver, callable $factory)
No description
resolveDriver
DatabaseDriverInterface
resolveDriver(Driver $driver, ConnectionInterface $connection, DatabaseConfig $config, ContainerInterface $container)
Resolves the effective value from the configured database dependencies and input.
resolveSchemaGrammar
SchemaGrammarInterface
resolveSchemaGrammar(Driver $driver, DatabaseConfig $config, ContainerInterface $container)
Resolves the effective value from the configured database dependencies and input.