| 12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- namespace Test\Michel\Console\Command;
- use Michel\Console\Command\CommandInterface;
- use Michel\Console\InputInterface;
- use Michel\Console\OutputInterface;
- class UserDisabledCommand implements CommandInterface
- {
- public function getName(): string
- {
- return 'app:user:disabled';
- }
- public function getDescription(): string
- {
- return 'TEST : User disabled';
- }
- public function getOptions(): array
- {
- return [
- ];
- }
- public function getArguments(): array
- {
- return [
- ];
- }
- public function execute(InputInterface $input, OutputInterface $output): void
- {
- $output->write('Test OK : User disabled');
- }
- }
|