From e64c7be584c0519a0b40fa964d110ef2c0c7afcc Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 23 Jul 2018 11:31:51 -0600 Subject: [PATCH] Add AP Inbox worker --- app/Jobs/InboxPipeline/InboxWorker.php | 43 ++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 app/Jobs/InboxPipeline/InboxWorker.php diff --git a/app/Jobs/InboxPipeline/InboxWorker.php b/app/Jobs/InboxPipeline/InboxWorker.php new file mode 100644 index 000000000..db65c3580 --- /dev/null +++ b/app/Jobs/InboxPipeline/InboxWorker.php @@ -0,0 +1,43 @@ +request = $request; + $this->profile = $profile; + $this->payload = $payload; + } + + /** + * Execute the job. + * + * @return void + */ + public function handle() + { + (new Inbox($this->request, $this->profile, $this->payload))->handle(); + } + +}