PHP Class Visithor\Reader\YamlConfigurationReader

ファイルを表示 Open project: visithor/visithor Class Usage Examples

Public Methods

Method 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 method

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

readByFilename() public method

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