Bristol SU Support Package
ModuleInstanceService.php
Go to the documentation of this file.
1 <?php
2 
4 
10 
14 class ModuleInstanceService extends Model
15 {
16  use HasRevisions;
17 
23  protected $table = 'module_instance_services';
24 
30  protected $fillable = [
31  'service', 'connection_id'
32  ];
33 
39  public function moduleInstance()
40  {
41  return $this->belongsTo(ModuleInstance::class);
42  }
43 
49  public function connection()
50  {
51  return $this->belongsTo(Connection::class)->withoutGlobalScope(AccessibleConnectionScope::class);
52  }
53 
54 }