* command and user actions added

* language model added
This commit is contained in:
Danyi Dávid
2016-08-15 21:45:46 +02:00
parent 15fe800840
commit 773769d7d6
25 changed files with 784 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<?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);
}
}