Bristol SU Support Package
CreatesSdkEnvironment.php
Go to the documentation of this file.
1 <?php
2 
4 
10 
15 {
16 
24  public function createSdkEnvironment(Application $app)
25  {
26  $app['config']->set('auth.guards.activity-instance', [
27  'driver' => 'session',
28  'provider' => 'activity-instances'
29  ]);
30  $app['config']->set('auth.providers.activity-instances', [
31  'driver' => 'activity-instance-provider',
32  'model' => ActivityInstance::class
33  ]);
34  }
35 
36 }