| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 15 | trait DoctrineOrmCommandTrait |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var ManagerRegistry |
||
| 19 | */ |
||
| 20 | private $managerRegistry; |
||
| 21 | |||
| 22 | 14 | public function __construct(ManagerRegistry $managerRegistry, ?string $name = null) |
|
| 23 | { |
||
| 24 | 14 | parent::__construct($name); |
|
| 25 | |||
| 26 | 14 | $this->managerRegistry = $managerRegistry; |
|
| 27 | 14 | } |
|
| 28 | |||
| 29 | 14 | protected function configure(): void |
|
| 38 | ); |
||
| 39 | 14 | } |
|
| 40 | |||
| 41 | 1 | protected function execute(InputInterface $input, OutputInterface $output): ?int |
|
| 52 | } |
||
| 53 | } |
||
| 54 |