simen-backend-zf3mw/src/App/Action/User/DeleteFactory.php
Danyi Dávid 773769d7d6 * command and user actions added
* language model added
2016-08-15 21:45:46 +02:00

18 lines
360 B
PHP

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