/**
* Actual dispatching of cookies.
* Extracted for this to be unit tested.
*
* @codeCoverageIgnore
*
* @deprecated Set cookies to Response object instead.
*/
protected function doSendCookie(): void
{ cookies([$this->cookie
], false
)->
dispatch();
} private function saveHashInSession(): void
{ $this->session->
set($this->config->tokenName,
$this->hash
);
}}