gallery-api/src/App/Action/ExportAlbumFactory.php
2017-08-15 00:32:42 +02:00

16 lines
327 B
PHP

<?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);
}
}