Skip to main content

config

Function config 

Source
pub fn config(key: &str) -> Option<String>
Expand description

Laravel-shaped config('app.name') string lookup - a deliberate, isolated exception to this framework’s usual compile-checked config access (app.config().app_name, still available and still preferred for anything statically known); kept narrow (one match arm per known key) rather than a general dynamic-config system.