Skip to content

Use Laravel's "config" helper to get model's config#1027

Open
pavgra wants to merge 1 commit intoFrozenNode:masterfrom
pavgra:master
Open

Use Laravel's "config" helper to get model's config#1027
pavgra wants to merge 1 commit intoFrozenNode:masterfrom
pavgra:master

Conversation

@pavgra
Copy link
Copy Markdown

@pavgra pavgra commented May 23, 2016

Use Laravel's "config" helper to get model's config (to retrieve all changes that might be done to config during app runtime)

…changes that might be done to config during app runtime)
@KingMob
Copy link
Copy Markdown

KingMob commented May 27, 2016

Unfortunately, this presents an obstacle to fixing #980, since heavier reliance on Laravel's config() will mean more work to avoid breaking artisan config:cache. As Laravel currently stands, it can't handle anonymous functions in the config files when caching.

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