HippoPHP\Hippo\CheckRepository::canInstantiate PHP Method

canInstantiate() private method

Determines whether a "check" does indeed implement CheckInterface.
private canInstantiate ( ReflectionClass $reflectionClass ) : boolean
$reflectionClass ReflectionClass
return boolean
    private function canInstantiate(ReflectionClass $reflectionClass)
    {
        return $reflectionClass->implementsInterface('\\HippoPHP\\Hippo\\Checks\\CheckInterface') && !$reflectionClass->isInterface() && !$reflectionClass->isAbstract();
    }