1818use PhpDb \Container \AdapterManager ;
1919use PhpDb \Container \ConnectionInterfaceFactoryFactoryInterface ;
2020use PhpDb \Container \DriverInterfaceFactoryFactoryInterface ;
21- use PhpDb \Container \PlatformInterfaceFactoryFactoryInterface ;
2221use PhpDb \Container \MetadataFactory ;
22+ use PhpDb \Container \PlatformInterfaceFactoryFactoryInterface ;
2323use PhpDb \Metadata \MetadataInterface ;
2424use PhpDb \ResultSet ;
2525
@@ -39,13 +39,13 @@ public function getDependencies(): array
3939 'abstract_factories ' => [
4040 AdapterAbstractServiceFactory::class,
4141 ],
42- 'aliases ' => [
42+ 'aliases ' => [
4343 MetadataInterface::class => MysqlMetadata::class,
4444 ],
45- 'factories ' => [
45+ 'factories ' => [
4646 MysqlMetadata::class => MetadataFactory::class,
4747 ],
48- 'delegators ' => [
48+ 'delegators ' => [
4949 AdapterManager::class => [
5050 Container \AdapterManagerDelegator::class,
5151 ],
@@ -56,7 +56,7 @@ public function getDependencies(): array
5656 public function getAdapterManagerConfig (): array
5757 {
5858 return [
59- 'aliases ' => [
59+ 'aliases ' => [
6060 'MySqli ' => Driver \Mysqli \Mysqli::class,
6161 'MySQLi ' => Driver \Mysqli \Mysqli::class,
6262 'Mysqli ' => Driver \Mysqli \Mysqli::class,
@@ -76,7 +76,7 @@ public function getAdapterManagerConfig(): array
7676 DriverInterfaceFactoryFactoryInterface::class => Container \DriverInterfaceFactoryFactory::class,
7777 PlatformInterfaceFactoryFactoryInterface::class => Container \PlatformInterfaceFactoryFactory::class,
7878 ],
79- 'factories ' => [
79+ 'factories ' => [
8080 AdapterInterface::class => Container \AdapterFactory::class,
8181 Driver \Mysqli \Mysqli::class => Container \MysqliDriverFactory::class,
8282 Driver \Mysqli \Connection::class => Container \MysqliConnectionFactory::class,
@@ -91,9 +91,12 @@ public function getAdapterManagerConfig(): array
9191 ResultSet \ResultSet::class => InvokableFactory::class,
9292 ],
9393 'invokables ' => [
94- Container \ConnectionInterfaceFactoryFactory::class => Container \ConnectionInterfaceFactoryFactory::class,
95- Container \DriverInterfaceFactoryFactory::class => Container \DriverInterfaceFactoryFactory::class,
96- Container \PlatformInterfaceFactoryFactory::class => Container \PlatformInterfaceFactoryFactory::class,
94+ Container \ConnectionInterfaceFactoryFactory::class
95+ => Container \ConnectionInterfaceFactoryFactory::class,
96+ Container \DriverInterfaceFactoryFactory::class
97+ => Container \DriverInterfaceFactoryFactory::class,
98+ Container \PlatformInterfaceFactoryFactory::class
99+ => Container \PlatformInterfaceFactoryFactory::class,
97100 ],
98101 ];
99102 }
0 commit comments