Methods summary
public
array
|
|
public
SourceConfig
|
#
setType( string $type )
Parameters
Returns
SourceConfig Chainable
Throws
InvalidArgumentException If parameter is not a string.
|
public
string
|
|
public
Charcoal\App\Config\DatabaseConfig
|
#
setHostname( string $hostname )
Set database hostname
Parameters
- $hostname
- The database server hostname.
Returns
Throws
InvalidArgumentException If hostname is not a string.
|
public
string
|
#
hostname( )
Get database hostname.
Returns
string
|
public
Charcoal\App\Config\DatabaseConfig
|
#
setUsername( string $username )
Set database username
Parameters
- $username
- The database authentication user.
Returns
Throws
InvalidArgumentException If username is not a string.
|
public
string
|
|
public
Charcoal\App\Config\DatabaseConfig
|
#
setPassword( string $password )
Set password
Parameters
- $password
- The database authentication password.
Returns
Throws
InvalidArgumentException If password is not a string.
|
public
string
|
|
public
Charcoal\App\Config\DatabaseConfig
|
#
setDatabase( string $database )
Set database
Parameters
- $database
- The database name.
Returns
Throws
InvalidArgumentException If database is not a string.
|
public
string
|
|
public
Charcoal\App\Config\DatabaseConfig
|
#
setDisableUtf8( boolean $disableUtf8 )
Parameters
- $disableUtf8
- The "disable utf8" flag.
Returns
|
public
boolean
|
|