Beta version

class ConfigurationHandler

Configuration class

Methods

__construct(string $cacheDir, boolean $debug, string $path)

No description

string
getCacheDir()

No description

array
load()

Load default configuration file.

array
getConfiguration()

No description

$this
setConfiguration(array $configuration)

Set configuration after validating against Roadiz Configuration Schema.

testDoctrineConnexion(array $connexion = array())

Test database connexion with given configuration.

void
writeConfiguration()

No description

Details

at line 76
__construct(string $cacheDir, boolean $debug, string $path)

Parameters

string $cacheDir
boolean $debug
string $path

at line 87
string getCacheDir()

Return Value

string

at line 97
array load()

Load default configuration file.

Return Value

array

at line 118
array getConfiguration()

Return Value

array

at line 130
$this setConfiguration(array $configuration)

Set configuration after validating against Roadiz Configuration Schema.

Parameters

array $configuration

Return Value

$this

at line 149
testDoctrineConnexion(array $connexion = array())

Test database connexion with given configuration.

Parameters

array $connexion Doctrine array parameters

Exceptions

PDOException

at line 180
void writeConfiguration()

Return Value

void