protected function getControllerParameters(Request $request, array $parameters): array
    {
        $result = [$request];

        foreach ($parameters as $key => $value) {
            if (strpos($key, '_') !== 0) {
                $result[$key] = $value;
            }
        }

        return $result;
    }