src/components/FormComponent.php
private function checkFormIdInPost($request)
    {
        if (!isset($request::$post[self::PARAMETER_FORM_ID])) {
            return false;
        }

        if (!$request::$post[self::PARAMETER_FORM_ID] === $this->formId) {
            return false;
        }

        return true;
    }
private function checkFormIdInPost($request)
    {
        if (!isset($request::$post[self::PARAMETER_FORM_ID])) {
            return false;
        }

        if (!$request::$post[self::PARAMETER_FORM_ID] === $this->formId) {
            return false;
        }

        return true;
    }
private function checkFormIdInPost ( $ request ) { if ( ! isset ( $ request :: $ post [ self :: PARAMETER_FORM_ID ] ) ) { return false ; } if ( ! $ request :: $ post [ self :: PARAMETER_FORM_ID ] === $ this -> formId ) { return false ; } return true ; }
Checks if form id is set in _POST variable

@param $request
@return bool
Checks if form id is set in _POST variable