$type
$type : string
Database Config
setHostname(string $hostname) : \Charcoal\App\Config\DatabaseConfig
Set database hostname
| string | $hostname | The database server hostname. |
If hostname is not a string.
Chainable
setUsername(string $username) : \Charcoal\App\Config\DatabaseConfig
Set database username
| string | $username | The database authentication user. |
If username is not a string.
Chainable
setPassword(string $password) : \Charcoal\App\Config\DatabaseConfig
Set password
| string | $password | The database authentication password. |
If password is not a string.
Chainable
setDatabase(string $database) : \Charcoal\App\Config\DatabaseConfig
Set database
| string | $database | The database name. |
If database is not a string.
Chainable
setDisableUtf8(boolean $disableUtf8) : \Charcoal\App\Config\DatabaseConfig
| boolean | $disableUtf8 | The "disable utf8" flag. |
Chainable