* album export
This commit is contained in:
15
src/App/Action/ExportAlbumFactory.php
Normal file
15
src/App/Action/ExportAlbumFactory.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Action;
|
||||
|
||||
use App\Service\GalleryService;
|
||||
use Interop\Container\ContainerInterface;
|
||||
|
||||
class ExportAlbumFactory
|
||||
{
|
||||
public function __invoke(ContainerInterface $container)
|
||||
{
|
||||
$galleryService = $container->get(GalleryService::class);
|
||||
return new ExportAlbumAction($galleryService);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user