Last active
June 6, 2020 14:40
-
-
Save ridwanbejo/47258451fcf661e86ba4935b95c4c38e to your computer and use it in GitHub Desktop.
laravel-queue-sqs - ExampleJob.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Jobs; | |
class ExampleJob extends Job | |
{ | |
/** | |
* Create a new job instance. | |
* | |
* @return void | |
*/ | |
public function __construct() | |
{ | |
// | |
} | |
/** | |
* Execute the job. | |
* | |
* @return void | |
*/ | |
public function handle() | |
{ | |
echo "Running an example job ...\n"; | |
echo "Queue Broker: AWS SQS\n"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment