PHP Class Visithor\Reader\YamlConfigurationReader

Afficher le fichier Open project: visithor/visithor Class Usage Examples

Méthodes publiques

Méthode Description
read ( string $path ) : array | false Read all the configuration given a path
readByFilename ( string $path, string $filename ) : array Read all the configuration given a path and a filename

Method Details

read() public méthode

Read all the configuration given a path
public read ( string $path ) : array | false
$path string Path
Résultat array | false Configuration loaded or false if file not exists

readByFilename() public méthode

Read all the configuration given a path and a filename
public readByFilename ( string $path, string $filename ) : array
$path string Path
$filename string File name
Résultat array Configuration