16 lines
327 B
PHP
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);
|
|
}
|
|
}
|