original_string: 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'));
      }
code: 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'));
      }
code_tokens: 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' ) ) ; }
docstring: Attach access policy events.
  
  @param  \Illuminate\Contracts\Foundation\Application  $app
  
  @return void
docstring_tokens: Attach access policy events .