src/Builders/RouteBuilderRegistry.php
private function applyGroupConstraints(RouteBuilder $routeBuilder): void
    {
        $groupConstraintBindings = [];

        foreach ($this->groupOptionsStack as $groupOptions) {
            $groupConstraintBindings = \array_merge($groupConstraintBindings, $groupOptions->constraints);
        }

        $routeBuilder->withManyConstraints($groupConstraintBindings);
    }
private function applyGroupConstraints(RouteBuilder $routeBuilder): void
    {
        $groupConstraintBindings = [];

        foreach ($this->groupOptionsStack as $groupOptions) {
            $groupConstraintBindings = \array_merge($groupConstraintBindings, $groupOptions->constraints);
        }

        $routeBuilder->withManyConstraints($groupConstraintBindings);
    }
Applies a group's constraints to the input route builder

@param RouteBuilder $routeBuilder The route builder to bind constraints to