Skip to content

Conversation

@cosmastech
Copy link
Contributor

@cosmastech cosmastech commented Nov 4, 2025

Reduces file_exists() calls. This is called repeatedly in the codebase, like when merging the configuration values in a service provider.

I think it might even be safe to store as an instance property in the Application class, but figured I would just leverage the existing app instances to not have to worry about flushing/resetting state.

For reference: this instance value is already set inside of LoadConfiguration.

@taylorotwell taylorotwell merged commit 810d6f4 into laravel:12.x Nov 4, 2025
68 checks passed
@cosmastech cosmastech deleted the patch-25 branch November 6, 2025 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants