PHP Class HippoPHP\Hippo\CheckRunner

Afficher le fichier Open project: hippophp/hippo Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( FileSystem $fileSystem, CheckRepository $checkRepository, Config $config )
checkFile ( File $file ) : CheckResult[]
checkPath ( string $path ) : boolean
setObserver ( callable $observer )

Méthodes protégées

Méthode Description
checkPathFile ( string $path ) : CheckResult[]

Private Methods

Méthode Description
checkPathDirectory ( string $path ) : CheckResult[]

Method Details

__construct() public méthode

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

checkFile() public méthode

public checkFile ( File $file ) : CheckResult[]
$file File
Résultat CheckResult[]

checkPath() public méthode

public checkPath ( string $path ) : boolean
$path string
Résultat boolean if there were no errors

checkPathFile() protected méthode

protected checkPathFile ( string $path ) : CheckResult[]
$path string
Résultat CheckResult[]

setObserver() public méthode

public setObserver ( callable $observer )
$observer callable