lib/Collection/QueryType/Handler/Traits/SectionFilterTrait.php
private function buildSectionFilterParameters(ParameterBuilderInterface $builder, array $groups = []): void
    {
        $builder->add(
            'filter_by_section',
            ParameterType\Compound\BooleanType::class,
            [
                'groups' => $groups,
            ]
        );

        $builder->get('filter_by_section')->add(
            'sections',
            EzParameterType\SectionType::class,
            [
                'multiple' => true,
                'groups' => $groups,
            ]
        );
    }
private function buildSectionFilterParameters(ParameterBuilderInterface $builder, array $groups = []): void
    {
        $builder->add(
            'filter_by_section',
            ParameterType\Compound\BooleanType::class,
            [
                'groups' => $groups,
            ]
        );

        $builder->get('filter_by_section')->add(
            'sections',
            EzParameterType\SectionType::class,
            [
                'multiple' => true,
                'groups' => $groups,
            ]
        );
    }
private function buildSectionFilterParameters ( ParameterBuilderInterface $ builder , array $ groups = [ ] ) : void { $ builder -> add ( 'filter_by_section' , ParameterType \ Compound \ BooleanType :: class , [ 'groups' => $ groups , ] ) ; $ builder -> get ( 'filter_by_section' ) -> add ( 'sections' , EzParameterType \ SectionType :: class , [ 'multiple' => true , 'groups' => $ groups , ] ) ; }
Builds the parameters for filtering by sections.
Builds the parameters for filtering by sections .