PHP 클래스 Visithor\Reader\YamlConfigurationReader

파일 보기 프로젝트 열기: visithor/visithor 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

read() 공개 메소드

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

readByFilename() 공개 메소드

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