From 59e51ac4d768c92c0f4ffed1e7e2a422b4a4ef60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Muhammet=20=C5=9EAFAK?= Date: Sat, 31 Aug 2024 20:09:08 +0300 Subject: [PATCH] readme.md updated --- App/Commands/Mail/MailConsumer.php | 33 ------------------- ...SConsumer.php => NotificationConsumer.php} | 13 ++++---- .../{Payments => }/PaymentConsumer.php | 2 +- App/Messages/PaymentMessage.php | 22 +++++++++++++ README.md | 10 ++++++ 5 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 App/Commands/Mail/MailConsumer.php rename App/Commands/{SMS/SMSConsumer.php => NotificationConsumer.php} (66%) rename App/Commands/{Payments => }/PaymentConsumer.php (97%) create mode 100644 App/Messages/PaymentMessage.php diff --git a/App/Commands/Mail/MailConsumer.php b/App/Commands/Mail/MailConsumer.php deleted file mode 100644 index 1bec050..0000000 --- a/App/Commands/Mail/MailConsumer.php +++ /dev/null @@ -1,33 +0,0 @@ -consume(function (MessageInterface $message) { - // The workers that will work for NotificationQueue are defined in Message. - - return true; - }); - - return Command::SUCCESS; - } - - public function configure(): void - { - $this->setDescription("Sends the emails in the queue."); - } - -} diff --git a/App/Commands/SMS/SMSConsumer.php b/App/Commands/NotificationConsumer.php similarity index 66% rename from App/Commands/SMS/SMSConsumer.php rename to App/Commands/NotificationConsumer.php index 31bcbdc..8cfc169 100644 --- a/App/Commands/SMS/SMSConsumer.php +++ b/App/Commands/NotificationConsumer.php @@ -1,15 +1,15 @@