protected function attachAccessPolicyEvents(Application $app)
    {
        // Orchestra Platform should be able to watch any changes to Role model
        // and sync the information to "orchestra.acl".
        Role::observe($app->make(RoleObserver::class));

        // Orchestra Platform should be able to determine admin and member roles
        // dynamically.
        Role::setDefaultRoles(\config('orchestra/foundation::roles'));
    }
protected function attachAccessPolicyEvents(Application $app)
    {
        // Orchestra Platform should be able to watch any changes to Role model
        // and sync the information to "orchestra.acl".
        Role::observe($app->make(RoleObserver::class));

        // Orchestra Platform should be able to determine admin and member roles
        // dynamically.
        Role::setDefaultRoles(\config('orchestra/foundation::roles'));
    }
protected function attachAccessPolicyEvents ( Application $ app ) { // Orchestra Platform should be able to watch any changes to Role model // and sync the information to "orchestra.acl". Role :: observe ( $ app -> make ( RoleObserver :: class ) ) ; // Orchestra Platform should be able to determine admin and member roles // dynamically. Role :: setDefaultRoles ( \ config ( 'orchestra/foundation::roles' ) ) ; }
Attach access policy events.

@param  \Illuminate\Contracts\Foundation\Application  $app

@return void
Attach access policy events .