bundles/BlockManagerAdminBundle/Controller/Admin/LayoutResolver/UpdateRulePriorities.php
private function validatePriorities(Request $request): void
    {
        $this->validate(
            $request->request->get('rule_ids'),
            [
                new Constraints\NotBlank(),
                new Constraints\Type(['type' => 'array']),
                new Constraints\All(
                    [
                        'constraints' => [
                            new Constraints\NotBlank(),
                            new Constraints\Type(['type' => 'scalar']),
                        ],
                    ]
                ),
            ],
            'rule_ids'
        );
    }
private function validatePriorities(Request $request): void
    {
        $this->validate(
            $request->request->get('rule_ids'),
            [
                new Constraints\NotBlank(),
                new Constraints\Type(['type' => 'array']),
                new Constraints\All(
                    [
                        'constraints' => [
                            new Constraints\NotBlank(),
                            new Constraints\Type(['type' => 'scalar']),
                        ],
                    ]
                ),
            ],
            'rule_ids'
        );
    }
private function validatePriorities ( Request $ request ) : void { $ this -> validate ( $ request -> request -> get ( 'rule_ids' ) , [ new Constraints \ NotBlank ( ) , new Constraints \ Type ( [ 'type' => 'array' ] ) , new Constraints \ All ( [ 'constraints' => [ new Constraints \ NotBlank ( ) , new Constraints \ Type ( [ 'type' => 'scalar' ] ) , ] , ] ) , ] , 'rule_ids' ) ; }
Validates list of rules from the request when updating priorities.

@throws \Netgen\BlockManager\Exception\Validation\ValidationException If validation failed
Validates list of rules from the request when updating priorities .