Laravel - Configuration and Environment
You want to override a config value at runtime without changing the config files. Which Laravel method allows you to do this?
config() helper can accept an array to override config values temporarily.env() reads environment variables, setConfig() does not exist, and Config::set() is not the correct static method.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions