src/bitExpert/Pathfinder/RouteBuilder.php
public static function route(string $routeClass = null) : RouteBuilder
    {
        $routeClass = $routeClass ? $routeClass : self::$defaultRouteClass;

        return new static($routeClass);
    }
public static function route(string $routeClass = null) : RouteBuilder
    {
        $routeClass = $routeClass ? $routeClass : self::$defaultRouteClass;

        return new static($routeClass);
    }
public static function route ( string $ routeClass = null ) : RouteBuilder { $ routeClass = $ routeClass ? $ routeClass : self :: $ defaultRouteClass ; return new static ( $ routeClass ) ; }
Creates a new {@link bitExpert\Pathfinder\RouteBuilder} instance using the given
$routeClass to create a new route from.

@param string|null $routeClass
@return RouteBuilder
Creates a new { @link bitExpert \ Pathfinder \ RouteBuilder } instance using the given $routeClass to create a new route from .