Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
15 | abstract class AbstractLockedCommand extends Command |
||
16 | { |
||
17 | private LockFactory $locker; |
||
18 | |||
19 | 19 | public function __construct(LockFactory $locker) |
|
23 | 19 | } |
|
24 | |||
25 | 16 | final protected function execute(InputInterface $input, OutputInterface $output): ?int |
|
41 | } |
||
42 | } |
||
43 | |||
44 | abstract protected function lockedExecute(InputInterface $input, OutputInterface $output): int; |
||
45 | |||
46 | abstract protected function getLockConfig(): LockedCommandConfig; |
||
47 | } |
||
48 |