UserResetPasswordCommand.php 738 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace Test\Michel\Console\Command;
  3. use Michel\Console\Command\CommandInterface;
  4. use Michel\Console\InputInterface;
  5. use Michel\Console\OutputInterface;
  6. class UserResetPasswordCommand implements CommandInterface
  7. {
  8. public function getName(): string
  9. {
  10. return 'app:user:reset-password';
  11. }
  12. public function getDescription(): string
  13. {
  14. return 'TEST : User reset password';
  15. }
  16. public function getOptions(): array
  17. {
  18. return [
  19. ];
  20. }
  21. public function getArguments(): array
  22. {
  23. return [
  24. ];
  25. }
  26. public function execute(InputInterface $input, OutputInterface $output): void
  27. {
  28. $output->write('Test OK : User reset password');
  29. }
  30. }