Created
July 1, 2017 12:39
-
-
Save sirawitpra/018e0c237f6702ae82faa06c244dcbf4 to your computer and use it in GitHub Desktop.
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\Events; | |
use App\Order; | |
use Illuminate\Queue\SerializesModels; | |
class OrderCreated | |
{ | |
use SerializesModels; | |
public $order; | |
/** | |
* Create a new event instance. | |
* | |
* @param Order $order | |
* @return void | |
*/ | |
public function __construct(Order $order) | |
{ | |
$this->order = $order; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment