original_string: public static function connect($route, $defaults = [], $options = [])
      {
          static::$initialized = true;
          static::scope('/', function ($routes) use ($route, $defaults, $options) {
              /** @var \Cake\Routing\RouteBuilder $routes */
              $routes->connect($route, $defaults, $options);
          });
      }
code: public static function connect($route, $defaults = [], $options = [])
      {
          static::$initialized = true;
          static::scope('/', function ($routes) use ($route, $defaults, $options) {
              /** @var \Cake\Routing\RouteBuilder $routes */
              $routes->connect($route, $defaults, $options);
          });
      }
code_tokens: public static function connect ( $ route , $ defaults = [ ] , $ options = [ ] ) { static :: $ initialized = true ; static :: scope ( '/' , function ( $ routes ) use ( $ route , $ defaults , $ options ) { /** @var \Cake\Routing\RouteBuilder $routes */ $ routes -> connect ( $ route , $ defaults , $ options ) ; } ) ; }
docstring: Connects a new Route in the router.
  
  Compatibility proxy to \Cake\Routing\RouteBuilder::connect() in the `/` scope.
  
  @param string $route A string describing the template of the route
  @param array|string $defaults An array describing the default route parameters. These parameters will be used by default
  and can supply routing parameters that are not dynamic. See above.
  @param array $options An array matching the named elements in the route to regular expressions which that
  element should match. Also contains additional parameters such as which routed parameters should be
  shifted into the passed arguments, supplying patterns for routing parameters and supplying the name of a
  custom routing class.
  @return void
  @throws \Cake\Core\Exception\Exception
  @see \Cake\Routing\RouteBuilder::connect()
  @see \Cake\Routing\Router::scope()
docstring_tokens: Connects a new Route in the router .