* doctrine db cache backend added

This commit is contained in:
Danyi Dávid
2017-08-12 22:56:25 +02:00
parent 36fa6c3297
commit 771db00c4f
22 changed files with 2368 additions and 205 deletions

View File

@@ -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,
],
];
}