public function checkReflection(Reflector $reflection, Request $request, ?string $component = null): void
    {
        $rules = $this->getRules($reflection);
        $this->checkRules($rules, $request, $component);
    }
public function checkReflection(Reflector $reflection, Request $request, ?string $component = null): void
    {
        $rules = $this->getRules($reflection);
        $this->checkRules($rules, $request, $component);
    }
public function checkReflection ( Reflector $ reflection , Request $ request , ? string $ component = null ) : void { $ rules = $ this -> getRules ( $ reflection ) ; $ this -> checkRules ( $ rules , $ request , $ component ) ; }
Checks whether all rules of the given reflection are met.

@param ReflectionClass|ReflectionMethod $reflection

@throws VerificationException
Checks whether all rules of the given reflection are met .