/** * @return bool */ public static function validateCsrf(CsrfProtection $control) { return $control->getValue() === $control->getToken(); }