Esempio n. 1
0
 public static function boot()
 {
     parent::boot();
     if (!static::$observers) {
         static::$observers = array();
     }
     if (!static::$booted) {
         static::$booted = array();
     }
 }
Esempio n. 2
0
 public static function boot()
 {
     parent::boot();
     static::registerDefaultEvents();
 }