Пример #1
0
 /**
  * Clear the list of booted models so they will be re-booted.
  *
  * @return void
  */
 public static function clearBootedModels()
 {
     static::$booted = [];
     static::$globalScopes = [];
 }
Пример #2
0
 public static function clearBootedModels()
 {
     static::$booted = array();
     static::$globalScopes = array();
 }