Exemplo n.º 1
0
 protected static function boot()
 {
     parent::boot();
     !static::$dispatcher and static::$dispatcher = new Illuminate\Events\Dispatcher();
 }
Exemplo n.º 2
0
 /**
  * Attach our Auditable event observer
  * 
  * @return void
  */
 public static function boot()
 {
     parent::boot();
     self::observe(new Olsgreen\Auditable\Observer());
 }