public static function createRouteBuilder($path, array $options = [])
    {
        $defaults = [
            'routeClass' => static::defaultRouteClass(),
            'extensions' => static::$_defaultExtensions,
        ];
        $options += $defaults;

        return new RouteBuilder(static::$_collection, $path, [], [
            'routeClass' => $options['routeClass'],
            'extensions' => $options['extensions'],
        ]);
    }
public static function createRouteBuilder($path, array $options = [])
    {
        $defaults = [
            'routeClass' => static::defaultRouteClass(),
            'extensions' => static::$_defaultExtensions,
        ];
        $options += $defaults;

        return new RouteBuilder(static::$_collection, $path, [], [
            'routeClass' => $options['routeClass'],
            'extensions' => $options['extensions'],
        ]);
    }
public static function createRouteBuilder ( $ path , array $ options = [ ] ) { $ defaults = [ 'routeClass' => static :: defaultRouteClass ( ) , 'extensions' => static :: $ _defaultExtensions , ] ; $ options += $ defaults ; return new RouteBuilder ( static :: $ _collection , $ path , [ ] , [ 'routeClass' => $ options [ 'routeClass' ] , 'extensions' => $ options [ 'extensions' ] , ] ) ; }
Create a RouteBuilder for the provided path.

@param string $path The path to set the builder to.
@param array $options The options for the builder
@return \Cake\Routing\RouteBuilder
Create a RouteBuilder for the provided path .