protected static function boot() { if (kernel::routesAreCached()) { self::loadCachedRoutes(); } else { self::loadRoutes(); } }