src/Builders/RouteBuilder.php
public function withManyConstraints(array $constraints): self
    {
        $this->constraints = \array_merge($this->constraints, $constraints);

        return $this;
    }
public function withManyConstraints(array $constraints): self
    {
        $this->constraints = \array_merge($this->constraints, $constraints);

        return $this;
    }
Binds constraints to this route

@param IRouteConstraint[] $constraints The constraints to add
@return self For chaining