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

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

        return $this;
    }
Binds many custom attributes to the route
This is useful for custom route constraint matching

@param array $attributes The mapping of custom attribute names => values
@return self For chaining