2020-11-18 10:23:51 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Providers;
|
|
|
|
|
|
2021-04-18 20:31:07 +02:00
|
|
|
use App\Models\Ticket;
|
|
|
|
|
use App\Policies\ProjectPolicy;
|
|
|
|
|
use App\Policies\TicketPolicy;
|
2020-11-18 10:23:51 +01:00
|
|
|
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
|
|
|
|
|
|
|
|
|
|
class AuthServiceProvider extends ServiceProvider
|
|
|
|
|
{
|
2021-04-18 20:31:07 +02:00
|
|
|
|
2020-11-18 10:23:51 +01:00
|
|
|
/**
|
|
|
|
|
* The policy mappings for the application.
|
|
|
|
|
*
|
|
|
|
|
* @var array
|
|
|
|
|
*/
|
2021-06-18 15:39:19 +02:00
|
|
|
protected $policies = [];
|
2020-11-18 10:23:51 +01:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Register any authentication / authorization services.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
public function boot()
|
|
|
|
|
{
|
|
|
|
|
$this->registerPolicies();
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
}
|
|
|
|
|
}
|