private function addSessionCookie(ResponseInterface $response):ResponseInterface
    {
        $params = session_get_cookie_params();
        $cookie = new SetCookie(
            session_name(),
            session_id(),
            time() + $params["lifetime"],
            $params["path"],
            $params["domain"],
            $params["secure"],
            $params["httponly"]
        );
        return $cookie->addToResponse($response);
    }
private function addSessionCookie(ResponseInterface $response):ResponseInterface
    {
        $params = session_get_cookie_params();
        $cookie = new SetCookie(
            session_name(),
            session_id(),
            time() + $params["lifetime"],
            $params["path"],
            $params["domain"],
            $params["secure"],
            $params["httponly"]
        );
        return $cookie->addToResponse($response);
    }
private function addSessionCookie ( ResponseInterface $ response ) : ResponseInterface { $ params = session_get_cookie_params ( ) ; $ cookie = new SetCookie ( session_name ( ) , session_id ( ) , time ( ) + $ params [ "lifetime" ] , $ params [ "path" ] , $ params [ "domain" ] , $ params [ "secure" ] , $ params [ "httponly" ] ) ; return $ cookie -> addToResponse ( $ response ) ; }
Adds the cache limiter cookie

@param ResponseInterface $response
@return ResponseInterface
@throws \HansOtt\PSR7Cookies\InvalidArgumentException
Adds the cache limiter cookie