private function buildMainLocationParameters(ParameterBuilderInterface $builder, array $groups = []): void
    {
        $builder->add(
            'only_main_locations',
            ParameterType\BooleanType::class,
            [
                'default_value' => true,
                'groups' => $groups,
            ]
        );
    }