Ejemplo n.º 1
0
 /**
  * boot
  * observing model
  *
  */
 public static function boot()
 {
     parent::boot();
     static::addGlobalScope(new ContactScope());
     Branch::observe(new BranchObserver());
 }