File: D:/HostingSpaces/SBogers10/vangogh.komma.pro/app/Providers/AuthServiceProvider.php
<?php
namespace App\Providers;
use App\Komma\Buttons\ButtonPolicy;
use App\Komma\Buttons\Models\Button;
use App\Komma\Jobs\JobPolicy;
use App\Komma\Jobs\Models\Job;
use App\Komma\Kms\ActionLog\ActionLog;
use App\Komma\Kms\ActionLog\ActionLogPolicy;
use App\Komma\Pages\Models\Page;
use App\Komma\Pages\PagePolicy;
use App\Komma\Posts\Models\Post;
use App\Komma\Posts\PostPolicy;
use App\Komma\Projects\Models\Project;
use App\Komma\Projects\ProjectPolicy;
use App\Komma\References\Models\Reference;
use App\Komma\References\ReferencePolicy;
use App\Komma\Servicepoints\Models\Servicepoint;
use App\Komma\Servicepoints\ServicepointPolicy;
use App\Komma\Services\Models\Service;
use App\Komma\Services\ServicePolicy;
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\Sites\Models\Site;
use App\Komma\Sites\SitePolicy;
use App\Komma\Users\Models\KmsUser;
use App\Komma\Users\KmsUserPolicy;
use App\Komma\Users\Models\SiteUser;
use App\Komma\Users\SiteUserPolicy;
use App\Komma\WebsiteConfig\Model\WebsiteConfig;
use App\Komma\WebsiteConfig\WebsiteConfigPolicy;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
protected $policies = [
KmsUser::class => KmsUserPolicy::class,
SiteUser::class => SiteUserPolicy::class,
Job::class => JobPolicy::class,
Post::class => PostPolicy::class,
Button::class => ButtonPolicy::class,
ActionLog::class => ActionLogPolicy::class,
Product::class => ProductPolicy::class,
ProductGroup::class => ProductGroupPolicy::class,
ProductComposite::class => ProductCompositePolicy::class,
ShipmentGroup::class => ShipmentGroupPolicy::class,
Category::class => ProductCategoryPolicy::class,
Order::class => OrderPolicy::class,
Page::class => PagePolicy::class,
Property::class => PropertyPolicy::class,
Service::class => ServicePolicy::class,
Project::class => ProjectPolicy::class,
Reference::class => ReferencePolicy::class,
Servicepoint::class => ServicepointPolicy::class,
Site::class => SitePolicy::class,
WebsiteConfig::class => WebsiteConfigPolicy::class,
Shipment::class => ShipmentPolicy::class
];
/**
* Register any application authentication / authorization services.
*
* @return void
*/
public function boot()
{
parent::registerPolicies();
}
}