| 123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- namespace Test\Michel\Console\Command;
- use Michel\Console\Argument\CommandArgument;
- use Michel\Console\Command\CommandInterface;
- use Michel\Console\InputInterface;
- use Michel\Console\Option\CommandOption;
- use Michel\Console\OutputInterface;
- class MakeControllerCommand implements CommandInterface
- {
- public function getName(): string
- {
- return 'make:controller';
- }
- public function getDescription(): string
- {
- return 'TEST : Make a new controller';
- }
- public function getOptions(): array
- {
- return [
- ];
- }
- public function getArguments(): array
- {
- return [
- ];
- }
- public function execute(InputInterface $input, OutputInterface $output): void
- {
- $output->write('Test OK : Make a new controller');
- }
- }
|