File: D:/HostingSpaces/SBogers10/blije-gasten.komma.pro/app/Komma/Shop/KommaShopAuthServiceProvider.php
<?php
namespace App\Komma\Shop;
use App\Komma\Shop\Categories\Models\Category;
use App\Komma\Shop\Categories\ProductCategoryPolicy;
use App\Komma\Shop\Orders\Models\Order;
use App\Komma\Shop\Orders\OrderPolicy;
use App\Komma\Shop\Products\Product\Product;
use App\Komma\Shop\Products\Product\ProductPolicy;
use App\Komma\Shop\Products\ProductComposite\ProductComposite;
use App\Komma\Shop\Products\ProductComposite\ProductCompositePolicy;
use App\Komma\Shop\Products\ProductGroup\ProductGroup;
use App\Komma\Shop\Products\ProductGroup\ProductGroupPolicy;
use App\Komma\Shop\Properties\Models\Property;
use App\Komma\Shop\Properties\PropertyPolicy;
use App\Komma\Shop\ShipmentGroups\ShipmentGroup;
use App\Komma\Shop\ShipmentGroups\ShipmentGroupPolicy;
use App\Komma\Shop\Shipments\Shipment;
use App\Komma\Shop\Shipments\ShipmentPolicy;
use App\Komma\Shop\Vat\Models\Rate;
use App\Komma\Shop\Vat\VatPolicy;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class KommaShopAuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
protected $policies = [
Product::class => ProductPolicy::class,
ProductGroup::class => ProductGroupPolicy::class,
ProductComposite::class => ProductCompositePolicy::class,
ShipmentGroup::class => ShipmentGroupPolicy::class,
Category::class => ProductCategoryPolicy::class,
Order::class => OrderPolicy::class,
Property::class => PropertyPolicy::class,
Shipment::class => ShipmentPolicy::class,
Rate::class => VatPolicy::class,
];
/**
* Register any application authentication / authorization services.
*
* @return void
*/
public function boot()
{
parent::registerPolicies();
}
}