private function enforcePreconditions(Response $response) : void
    {
        $result = $this->preconditionValidator->validate($response);

        if (!$result->isValid()) {
            throw PreconditionNotMetException::createFromValidationResult($result);
        }
    }
private function enforcePreconditions(Response $response) : void
    {
        $result = $this->preconditionValidator->validate($response);

        if (!$result->isValid()) {
            throw PreconditionNotMetException::createFromValidationResult($result);
        }
    }
private function enforcePreconditions ( Response $ response ) : void { $ result = $ this -> preconditionValidator -> validate ( $ response ) ; if ( ! $ result -> isValid ( ) ) { throw PreconditionNotMetException :: createFromValidationResult ( $ result ) ; } }
Checks the preconditions that must be valid in order for the response to be processed.

@param \SAML2\Response $response
@throws PreconditionNotMetException
@return void
Checks the preconditions that must be valid in order for the response to be processed .