App::setConfigVar
Usage
void App::setConfigVar(string $key, string $value)Description
Update the value of an existing configuration variable.Parameters
| Parameter | Required | Type | Description | 
|---|---|---|---|
| $key | Yes | string | The alias of the configuration variable, formatted as PACKAGE.ALIAS | 
| $value | Yes | string | The value to update configuration variable to. | 
Examples
Update configuration variable
$app->setConfigVar('core.domain_name', 'mydomain.com');