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