update v1.0.7.9 R.C.

This is a Release Candidate. We are still testing.
This commit is contained in:
Sujit Prasad
2016-08-03 20:04:36 +05:30
parent 8b6b924d09
commit ffa56a43cb
3830 changed files with 181529 additions and 495353 deletions

40
app/Jobs/SendEmail.php Normal file
View File

@@ -0,0 +1,40 @@
<?php
namespace App\Jobs;
use App\Jobs\Job;
use Illuminate\Queue\SerializesModels;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use App\Http\Controllers\Common\PhpMailController;
class SendEmail extends Job implements ShouldQueue
{
use InteractsWithQueue, SerializesModels;
protected $from;
protected $to;
protected $message;
/**
* Create a new job instance.
*
* @return void
*/
public function __construct($from, $to, $message)
{
$this->from = $from;
$this->to = $to;
$this->message = $message;
}
/**
* Execute the job.
*
* @return void
*/
public function handle(PhpMailController $PhpMailController)
{
$PhpMailController->sendEmail($this->from, $this->to, $this->message);
}
}