Example #1
0
 /**
  * Tell router to connect or not connect the default routes.
  *
  * If default routes are disabled all automatic route generation will be disabled
  * and you will need to manually configure all the routes you want.
  *
  * @param boolean $connect Set to true or false depending on whether you want or don't want default routes.
  * @return void
  */
 public static function defaults($connect = true)
 {
     self::$__connectDefaults = $connect;
 }