public function setTokenFromCookies() { $this->csrfToken = $this->httpClient->cookie('csrftoken'); return $this; }