private function extractPostData(FilterUrl $filterUrl, $options, Request $request): void
    {
        if (empty($options['postAsSlug']) && empty($options['postAsGet'])) {
            return;
        }

        foreach ($request->request->all() as $name => $value) {
            if (is_array($value)) {
                $value = implode(',', $value);
            }
            if (in_array($name, $options['postAsSlug'])) {
                $filterUrl->setSlug($name, $value);
            }
            if (in_array($name, $options['postAsGet'])) {
                $filterUrl->setGet($name, $value);
            }
        }
    }