Skip to content

Deferrable config option proof of concept#1692

Closed
emmadesilva wants to merge 6 commits intomasterfrom
defered-config-options
Closed

Deferrable config option proof of concept#1692
emmadesilva wants to merge 6 commits intomasterfrom
defered-config-options

Conversation

@emmadesilva
Copy link
Member

@emmadesilva emmadesilva commented Apr 26, 2024

'header' => defer(fn () => config('hyde.name').' Docs'),
'header' => defer(fn ($config) => "{$config['hyde.name']} Docs"),
'header' => defer(fn (\Illuminate\Config\Repository $config): string => "{$config->get('hyde.name')} Docs"),

@emmadesilva
Copy link
Member Author

Closing for now as I don't think it's intuitive enough to warrant the complexity

@emmadesilva emmadesilva deleted the defered-config-options branch June 12, 2024 12:49
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.

1 participant