PHP Class HippoPHP\Hippo\CheckRepository

Show file Open project: hippophp/hippo Class Usage Examples

Public Methods

Method Description
__construct ( FileSystem $fileSystem )
getChecks ( ) : HippoPHP\Hippo\Check[]

Private Methods

Method Description
build ( ) Builds a list of checks to run.
buildIfNecessary ( ) If the checks haven't been ran, then we need to run them.
canInstantiate ( ReflectionClass $reflectionClass ) : boolean Determines whether a "check" does indeed implement CheckInterface.
getRootDirectory ( ) : string Returns the root checks directory.

Method Details

__construct() public method

public __construct ( FileSystem $fileSystem )
$fileSystem FileSystem

getChecks() public method

public getChecks ( ) : HippoPHP\Hippo\Check[]
return HippoPHP\Hippo\Check[]