src/bitExpert/Pathfinder/RouteBuilder.php
public function build() : Route
    {
        return new $this->routeClass($this->methods, $this->path, $this->target, $this->matchers, $this->name);
    }
public function build() : Route
    {
        return new $this->routeClass($this->methods, $this->path, $this->target, $this->matchers, $this->name);
    }
Builds a route using the provided configuration.

@return Route