Bristol SU Support Package
CompletionConditionInstance.php
Go to the documentation of this file.
1 <?php
2 
3 
5 
6 
11 
16 {
17  use HasRevisions;
18 
24  protected $fillable = [
25  'alias', 'name', 'settings', 'description'
26  ];
27 
33  protected $casts = [
34  'settings' => 'array'
35  ];
36 
42  public function name()
43  {
44  return $this->name;
45  }
46 
52  public function settings()
53  {
54  return $this->settings;
55  }
56 
62  public function alias()
63  {
64  return $this->alias;
65  }
66 
72  public function moduleInstance()
73  {
74  return $this->hasOne(ModuleInstance::class);
75  }
76 
77 }