Beta version

class YamlConfigurationHandler extends ConfigurationHandler

Class YamlConfiguration

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.

bool
writeConfiguration()

No description

Details

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

Parameters

string $cacheDir
boolean $debug
string $path

in ConfigurationHandler at line 87
string getCacheDir()

Return Value

string

in ConfigurationHandler at line 97
array load()

Load default configuration file.

Return Value

array

in ConfigurationHandler at line 118
array getConfiguration()

Return Value

array

in ConfigurationHandler at line 130
$this setConfiguration(array $configuration)

Set configuration after validating against Roadiz Configuration Schema.

Parameters

array $configuration

Return Value

$this

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

Test database connexion with given configuration.

Parameters

array $connexion Doctrine array parameters

Exceptions

PDOException

at line 61
bool writeConfiguration()

Return Value

bool