public static function boot() { parent::boot(); if (!static::$observers) { static::$observers = array(); } if (!static::$booted) { static::$booted = array(); } }
public static function boot() { parent::boot(); static::registerDefaultEvents(); }