$this->getDependencies(), 'templates' => $this->getTemplates(), ]; } /** * Returns the container dependencies * * @return array */ public function getDependencies() { return [ 'invokables' => [ 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\GetImageAction::class => Action\GetImageFactory::class, Action\ExportAlbumAction::class => Action\ExportAlbumFactory::class, Service\GalleryService::class => Service\GalleryServiceFactory::class, ], ]; } /** * Returns the templates configuration * * @return array */ public function getTemplates() { return [ 'paths' => [ 'app' => ['templates/app'], 'error' => ['templates/error'], 'layout' => ['templates/layout'], ], ]; } }