/** * boot * observing model * */ public static function boot() { parent::boot(); static::addGlobalScope(new ContactScope()); Branch::observe(new BranchObserver()); }
/** * boot * observing model * */ public static function boot() { parent::boot(); Policy::observe(new PolicyObserver()); }
/** * boot * observing model * */ public static function boot() { parent::boot(); Chart::observe(new ChartObserver()); }
public static function boot() { parent::boot(); Contact::observe(new ContactObserver()); }
/** * boot * observing model * */ public static function boot() { parent::boot(); Organisation::observe(new OrganisationObserver()); }