File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
src/Illuminate/Foundation Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -302,4 +302,16 @@ protected function toSearchKeyword(string $value)
302
302
{
303
303
return (string ) Str::of ($ value )->lower ()->snake ();
304
304
}
305
+
306
+ /**
307
+ * Flush the registered about data.
308
+ *
309
+ * @return void
310
+ */
311
+ public static function flushState ()
312
+ {
313
+ static ::$ data = [];
314
+
315
+ static ::$ customDataResolvers = [];
316
+ }
305
317
}
Original file line number Diff line number Diff line change 6
6
use Illuminate \Console \Application as Artisan ;
7
7
use Illuminate \Database \Eloquent \Model ;
8
8
use Illuminate \Foundation \Bootstrap \HandleExceptions ;
9
+ use Illuminate \Foundation \Console \AboutCommand ;
9
10
use Illuminate \Foundation \Http \Middleware \ConvertEmptyStringsToNull ;
10
11
use Illuminate \Foundation \Http \Middleware \TrimStrings ;
11
12
use Illuminate \Queue \Queue ;
@@ -242,6 +243,7 @@ protected function tearDown(): void
242
243
$ this ->originalExceptionHandler = null ;
243
244
$ this ->originalDeprecationHandler = null ;
244
245
246
+ AboutCommand::flushState ();
245
247
Artisan::forgetBootstrappers ();
246
248
Component::flushCache ();
247
249
Component::forgetComponentsResolver ();
You can’t perform that action at this time.
0 commit comments