PHP 클래스 HippoPHP\Hippo\CheckRunner

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

공개 메소드들

메소드 설명
__construct ( FileSystem $fileSystem, CheckRepository $checkRepository, Config $config )
checkFile ( File $file ) : CheckResult[]
checkPath ( string $path ) : boolean
setObserver ( callable $observer )

보호된 메소드들

메소드 설명
checkPathFile ( string $path ) : CheckResult[]

비공개 메소드들

메소드 설명
checkPathDirectory ( string $path ) : CheckResult[]

메소드 상세

__construct() 공개 메소드

public __construct ( FileSystem $fileSystem, CheckRepository $checkRepository, Config $config )
$fileSystem FileSystem
$checkRepository CheckRepository
$config HippoPHP\Hippo\Config\Config

checkFile() 공개 메소드

public checkFile ( File $file ) : CheckResult[]
$file File
리턴 CheckResult[]

checkPath() 공개 메소드

public checkPath ( string $path ) : boolean
$path string
리턴 boolean if there were no errors

checkPathFile() 보호된 메소드

protected checkPathFile ( string $path ) : CheckResult[]
$path string
리턴 CheckResult[]

setObserver() 공개 메소드

public setObserver ( callable $observer )
$observer callable