예제 #1
0
 /**
  * boot
  * observing model
  *
  */
 public static function boot()
 {
     parent::boot();
     static::addGlobalScope(new ContactScope());
     Branch::observe(new BranchObserver());
 }
예제 #2
0
 /**
  * boot
  * observing model
  *
  */
 public static function boot()
 {
     parent::boot();
     Policy::observe(new PolicyObserver());
 }
예제 #3
0
 /**
  * boot
  * observing model
  *
  */
 public static function boot()
 {
     parent::boot();
     Chart::observe(new ChartObserver());
 }
예제 #4
0
 public static function boot()
 {
     parent::boot();
     Contact::observe(new ContactObserver());
 }
예제 #5
0
 /**
  * boot
  * observing model
  *
  */
 public static function boot()
 {
     parent::boot();
     Organisation::observe(new OrganisationObserver());
 }