* doctrine db cache backend added
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace App;
|
||||
|
||||
use ContainerInteropDoctrine\EntityManagerFactory;
|
||||
|
||||
/**
|
||||
* The configuration provider for the App module
|
||||
*
|
||||
@@ -34,13 +36,16 @@ class ConfigProvider
|
||||
{
|
||||
return [
|
||||
'invokables' => [
|
||||
Service\GalleryService::class => Service\GalleryService::class,
|
||||
Action\HomePageAction::class => Action\HomePageAction::class,
|
||||
],
|
||||
'factories' => [
|
||||
'doctrine.entity_manager.orm_default' => EntityManagerFactory::class,
|
||||
'doctrine.hydrator' => Hydrator\DoctrineObjectFactory::class,
|
||||
|
||||
Action\ListGalleriesAction::class => Action\ListGalleriesFactory::class,
|
||||
Action\GetGalleryImagesAction::class => Action\GetGalleryImagesFactory::class,
|
||||
Action\GetImageAction::class => Action\GetImageFactory::class,
|
||||
|
||||
Service\GalleryService::class => Service\GalleryServiceFactory::class,
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user