src/Providers/AuthorizationServiceProvider.php
public function boot()
    {
        $this->registerPolicies();

        $this->defineMany(LogViewerPolicy::class, LogViewerPolicy::policies());
        $this->defineMany(RouteViewerPolicy::class, RouteViewerPolicy::policies());

        // TODO: Add more policies for other foundation features.
    }
public function boot()
    {
        $this->registerPolicies();

        $this->defineMany(LogViewerPolicy::class, LogViewerPolicy::policies());
        $this->defineMany(RouteViewerPolicy::class, RouteViewerPolicy::policies());

        // TODO: Add more policies for other foundation features.
    }
public function boot ( ) { $ this -> registerPolicies ( ) ; $ this -> defineMany ( LogViewerPolicy :: class , LogViewerPolicy :: policies ( ) ) ; $ this -> defineMany ( RouteViewerPolicy :: class , RouteViewerPolicy :: policies ( ) ) ; // TODO: Add more policies for other foundation features. }
Register any application authentication / authorization services.
Register any application authentication / authorization services .