Skip to content

Instantly share code, notes, and snippets.

@Wpkenpachi
Created November 28, 2017 17:32
Show Gist options
  • Save Wpkenpachi/ebd8301db787e5205663059c1154b74e to your computer and use it in GitHub Desktop.
Save Wpkenpachi/ebd8301db787e5205663059c1154b74e to your computer and use it in GitHub Desktop.
<?php
namespace App\Jobs;
use Illuminate\Bus\Queueable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use App\test;
class ManageEvents implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
/**
* Create a new job instance.
*
* @return void
*/
public function __construct()
{
}
/**
* Execute the job.
*
* @return void
*/
public function handle()
{
test::create(['something' => date('H:i:s d-m-Y')]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment