Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config not serialisable when doing config:cache #47

Open
stephenkhoo opened this issue Apr 20, 2023 · 0 comments
Open

config not serialisable when doing config:cache #47

stephenkhoo opened this issue Apr 20, 2023 · 0 comments

Comments

@stephenkhoo
Copy link

When we try to optimise the Laravel performance, one of the common practice we do is cache the config.
However, it can't serialise the config as there's a function in the config
Maybe we will need to adjust a little bit, so that we can exclude the need of the callback in the config

Let's say we have another
app/settings/mutator.php

Then in config, we're just pointing towards different key of the array inside the settings/mutator.php

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

No branches or pull requests

1 participant