protected function fetchID(Request $request): ?string
    {
        $cookies = $request->getCookieParams();
        if (empty($cookies[$this->config->getCookie()])) {
            return null;
        }

        return $cookies[$this->config->getCookie()];
    }
protected function fetchID(Request $request): ?string
    {
        $cookies = $request->getCookieParams();
        if (empty($cookies[$this->config->getCookie()])) {
            return null;
        }

        return $cookies[$this->config->getCookie()];
    }
protected function fetchID ( Request $ request ) : ? string { $ cookies = $ request -> getCookieParams ( ) ; if ( empty ( $ cookies [ $ this -> config -> getCookie ( ) ] ) ) { return null ; } return $ cookies [ $ this -> config -> getCookie ( ) ] ; }
Attempt to locate session ID in request.

@param Request $request
@return string|null
Attempt to locate session ID in request .