Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

40 linhas
985 B

  1. <?php
  2. namespace Grav\Plugin\Console;
  3. use Grav\Common\Grav;
  4. use Grav\Console\ConsoleCommand;
  5. use Grav\Plugin\Email\Email;
  6. use Symfony\Component\Console\Input\InputOption;
  7. /**
  8. * Class FlushQueueCommand
  9. * @package Grav\Console\Cli\
  10. * @deprecated 4.0 Switched from Swiftmailer to Symfony/Mailer - No longer supported
  11. */
  12. class FlushQueueCommand extends ConsoleCommand
  13. {
  14. /** @var array */
  15. protected $options = [];
  16. /**
  17. * @return void
  18. */
  19. protected function configure()
  20. {
  21. $this
  22. ->setName('flush-queue')
  23. ->setAliases(['flushqueue'])
  24. ->setDescription('DEPRECATED: Flushes the email queue of any pending emails')
  25. ->setHelp('The <info>flush-queue</info> command flushes the email queue of any pending emails');
  26. }
  27. /**
  28. * @return int
  29. * @deprecated 4.0 Switched from Swiftmailer to Symfony/Mailer - No longer supported
  30. */
  31. protected function serve()
  32. {
  33. return 0;
  34. }
  35. }