public function getCookieCSRFToken() { $CsrfCookie = $this->Request->getCookie($this->csrf_cookie); if (empty($CsrfCookie)) { return false; } return $CsrfCookie->getValue(); }