Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
UserAdminCommand
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3declare(strict_types=1);
4
5namespace App\Command;
6
7use App\Repository\UserRepository;
8use Doctrine\ORM\EntityManagerInterface;
9use Elkuku\SymfonyUtils\Command\UserAdminBaseCommand;
10use Symfony\Component\Console\Attribute\AsCommand;
11
12#[AsCommand(
13    name: 'user-admin',
14    description: 'Administer user accounts',
15    aliases: ['useradmin', 'admin']
16)]
17class UserAdminCommand extends UserAdminBaseCommand
18{
19    public function __construct(
20        EntityManagerInterface $entityManager,
21        UserRepository $userRepository,
22    )
23    {
24        parent::__construct($entityManager, $userRepository);
25    }
26}