Danyi Dávid 773769d7d6 * command and user actions added
* language model added
2016-08-15 21:45:46 +02:00

18 lines
369 B
PHP

<?php
namespace App\Action\Comment;
use App\Action\Article\DeleteAction;
use App\Service\Article\CommentService;
use Interop\Container\ContainerInterface;
class DeleteFactory
{
public function __invoke(ContainerInterface $container)
{
$entityService = $container->get(CommentService::class);
return new DeleteAction($entityService);
}
}