first upload all files
This commit is contained in:
27
Modules/Product/Events/ShowingProductList.php
Normal file
27
Modules/Product/Events/ShowingProductList.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Product\Events;
|
||||
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class ShowingProductList
|
||||
{
|
||||
use SerializesModels;
|
||||
|
||||
/**
|
||||
* Collection of product.
|
||||
*
|
||||
* @var \Illuminate\Database\Eloquent\Collection
|
||||
*/
|
||||
public $products;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($products)
|
||||
{
|
||||
$this->products = $products;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user