* command and user actions added
* language model added
This commit is contained in:
17
src/App/Action/User/DeleteFactory.php
Normal file
17
src/App/Action/User/DeleteFactory.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user