| 1 | <?php |
||
| 15 | class TestCommand extends Command |
||
| 16 | { |
||
| 17 | |||
| 18 | protected static $defaultName = 'test'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var RoleHierarchyInterface |
||
| 22 | */ |
||
| 23 | private $roleHierarchy; |
||
| 24 | /** |
||
| 25 | * @var Security |
||
| 26 | */ |
||
| 27 | private $security; |
||
| 28 | |||
| 29 | public function __construct(RoleHierarchyInterface $roleHierarchy, Security $security) |
||
| 35 | |||
| 36 | protected function configure(): void |
||
| 40 | |||
| 41 | |||
| 42 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 48 | |||
| 49 | } |
||
| 50 |