* command and user actions added
* language model added
This commit is contained in:
17
src/App/Action/Comment/GetFactory.php
Normal file
17
src/App/Action/Comment/GetFactory.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Action\Comment;
|
||||
|
||||
use App\Action\Article\GetAction;
|
||||
use App\Service\Article\CommentService;
|
||||
use Interop\Container\ContainerInterface;
|
||||
|
||||
class GetFactory
|
||||
{
|
||||
|
||||
public function __invoke(ContainerInterface $container)
|
||||
{
|
||||
$entityService = $container->get(CommentService::class);
|
||||
return new GetAction($entityService);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user