1010use Doctrine \Persistence \Mapping \Driver \MappingDriverChain ;
1111use Dot \Cache \Adapter \ArrayAdapter ;
1212use Dot \Cache \Adapter \FilesystemAdapter ;
13+ use Light \App \DBAL \Types \UuidType ;
1314use Light \App \Factory \EntityListenerResolverFactory ;
1415use Light \App \Factory \GetIndexViewHandlerFactory ;
1516use Light \App \Handler \GetIndexViewHandler ;
1617use Light \App \Resolver \EntityListenerResolver ;
1718use Mezzio \Application ;
18- use Light \App \DBAL \Types \UuidType ;
1919use Roave \PsrContainerDoctrine \EntityManagerFactory ;
2020use Symfony \Component \Cache \Adapter \AdapterInterface ;
2121
@@ -79,9 +79,9 @@ class ConfigProvider
7979 public function __invoke (): array
8080 {
8181 return [
82- 'dependencies ' => $ this ->getDependencies (),
83- 'doctrine ' => $ this ->getDoctrineConfig (),
84- 'templates ' => $ this ->getTemplates (),
82+ 'dependencies ' => $ this ->getDependencies (),
83+ 'doctrine ' => $ this ->getDoctrineConfig (),
84+ 'templates ' => $ this ->getTemplates (),
8585 'resultCacheLifetime ' => 3600 ,
8686 ];
8787 }
@@ -150,12 +150,12 @@ private function getDoctrineConfig(): array
150150 'configuration ' => [
151151 'orm_default ' => [
152152 'entity_listener_resolver ' => EntityListenerResolver::class,
153- 'result_cache ' => 'filesystem ' ,
154- 'metadata_cache ' => 'filesystem ' ,
155- 'query_cache ' => 'filesystem ' ,
156- 'hydration_cache ' => 'array ' ,
157- 'typed_field_mapper ' => null ,
158- 'second_level_cache ' => [
153+ 'result_cache ' => 'filesystem ' ,
154+ 'metadata_cache ' => 'filesystem ' ,
155+ 'query_cache ' => 'filesystem ' ,
156+ 'hydration_cache ' => 'array ' ,
157+ 'typed_field_mapper ' => null ,
158+ 'second_level_cache ' => [
159159 'enabled ' => true ,
160160 'default_lifetime ' => 3600 ,
161161 'default_lock_lifetime ' => 60 ,
@@ -179,7 +179,7 @@ private function getDoctrineConfig(): array
179179 'execution_time_column_name ' => 'execution_time ' ,
180180 ],
181181 'migrations_paths ' => [
182- 'Migration ' => 'src/App/src/Migration ' ,
182+ 'Migration ' => 'src/App/src/Migration ' ,
183183 ],
184184 'all_or_nothing ' => false ,
185185 'check_database_platform ' => true ,
0 commit comments