Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

FlushQueueCommand.php 985 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. }