File: D:/HostingSpaces/SBogers10/inzigd.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\ProductGroup\ProductGroup;
use App\Komma\Shop\Products\ProductGroup\ProductGroupPolicy;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class KommaShopAuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
protected $policies = [
Order::class => OrderPolicy::class,
Product::class => ProductPolicy::class,
ProductGroup::class => ProductGroupPolicy::class,
ProductComposite::class => ProductComposite::class,
Category::class => ProductCategoryPolicy::class,
];
/**
* Register any application authentication / authorization services.
*
* @return void
*/
public function boot()
{
parent::registerPolicies();
}
}