Base job use trait.

This commit is contained in:
Taylor Otwell 2015-05-11 13:46:47 -05:00
parent e0ddb26e44
commit 2e1a1a6499

View File

@ -1,18 +1,21 @@
<?php namespace App\Jobs;
use Illuminate\Bus\Queueable;
abstract class Job
{
/**
* The name of the queue the job should be sent to.
*
* @var string
*/
public $queue;
/**
* The seconds before the job should be made available.
*
* @var int
*/
public $delay;
/*
|--------------------------------------------------------------------------
| Queueable Jobs
|--------------------------------------------------------------------------
|
| This job base class provides a central location to place any logic that
| is shared across all of your jobs. The trait included with the class
| provides access to the "queueOn" and "delay" queue helper methods.
|
*/
use Queueable;
}