class
Illuminate
/
Foundation
/
Console
/
ConfigCacheCommand
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
ConfigCacheCommand
Extends
Properties
protected
$name string
The console command name.
Default: 'config:cache'
protected
$description string
The console command description.
Default: 'Create a cache file for faster configuration loading'
Methods
public
__construct ( Filesystem $files ) : void
Create a new config cache command instance.
Parameters
- $files Filesystem
public
handle ( ) : void
Execute the console command.
protected
getFreshConfiguration ( ) : array
Boot a fresh copy of the application configuration.