Private/Polyfony/Bundles.php
public static function init() :void {

		// marker
		Profiler::setMarker('Bundles.init', 'framework');

		// if cache is enabled and in prod load the cache, else parse bundles
		Config::isProd() && Cache::has('Includes') ? self::loadCachedDependencies() : self::loadDependencies();
		
		// now that we have the list of config files, pass them to the config class
		Config::includeBundlesConfigs(self::$_configs);

		// now that we have the list of route files, pass them to the router class
		Router::includeBundlesRoutes(self::$_routes);

		// marker
		Profiler::releaseMarker('Bundles.init');

	}
public static function init() :void {

		// marker
		Profiler::setMarker('Bundles.init', 'framework');

		// if cache is enabled and in prod load the cache, else parse bundles
		Config::isProd() && Cache::has('Includes') ? self::loadCachedDependencies() : self::loadDependencies();
		
		// now that we have the list of config files, pass them to the config class
		Config::includeBundlesConfigs(self::$_configs);

		// now that we have the list of route files, pass them to the router class
		Router::includeBundlesRoutes(self::$_routes);

		// marker
		Profiler::releaseMarker('Bundles.init');

	}
public static function init ( ) : void { // marker Profiler :: setMarker ( 'Bundles.init' , 'framework' ) ; // if cache is enabled and in prod load the cache, else parse bundles Config :: isProd ( ) && Cache :: has ( 'Includes' ) ? self :: loadCachedDependencies ( ) : self :: loadDependencies ( ) ; // now that we have the list of config files, pass them to the config class Config :: includeBundlesConfigs ( self :: $ _configs ) ; // now that we have the list of route files, pass them to the router class Router :: includeBundlesRoutes ( self :: $ _routes ) ; // marker Profiler :: releaseMarker ( 'Bundles.init' ) ; }
will get the list of bundles and get their routes and runtimes
will get the list of bundles and get their routes and runtimes