File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Illuminate/Foundation/Console Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -177,9 +177,9 @@ protected function gatherApplicationInformation()
177
177
]);
178
178
179
179
static ::addToSection ('Cache ' , fn () => [
180
- 'Config ' => file_exists ( $ this ->laravel ->bootstrapPath ( ' cache/config.php ' ) ) ? '<fg=green;options=bold>CACHED</> ' : '<fg=yellow;options=bold>NOT CACHED</> ' ,
181
- 'Events ' => file_exists ( $ this ->laravel ->bootstrapPath ( ' cache/events.php ' ) ) ? '<fg=green;options=bold>CACHED</> ' : '<fg=yellow;options=bold>NOT CACHED</> ' ,
182
- 'Routes ' => file_exists ( $ this ->laravel ->bootstrapPath ( ' cache/routes-v7.php ' ) ) ? '<fg=green;options=bold>CACHED</> ' : '<fg=yellow;options=bold>NOT CACHED</> ' ,
180
+ 'Config ' => $ this ->laravel ->configurationIsCached ( ) ? '<fg=green;options=bold>CACHED</> ' : '<fg=yellow;options=bold>NOT CACHED</> ' ,
181
+ 'Events ' => $ this ->laravel ->eventsAreCached ( ) ? '<fg=green;options=bold>CACHED</> ' : '<fg=yellow;options=bold>NOT CACHED</> ' ,
182
+ 'Routes ' => $ this ->laravel ->routesAreCached ( ) ? '<fg=green;options=bold>CACHED</> ' : '<fg=yellow;options=bold>NOT CACHED</> ' ,
183
183
'Views ' => $ this ->hasPhpFiles ($ this ->laravel ->storagePath ('framework/views ' )) ? '<fg=green;options=bold>CACHED</> ' : '<fg=yellow;options=bold>NOT CACHED</> ' ,
184
184
]);
185
185
You can’t perform that action at this time.
0 commit comments