src/Ubiquity/controllers/di/DiManager.php
public static function init(&$config) {
		$controllers = CacheManager::getControllers ();
		foreach ( $controllers as $controller ) {
			CacheManager::$cache->remove( self::getControllerCacheKey ( $controller ));
			$parser = new DiControllerParser ();
			$parser->parse ( $controller, $config );
			$injections = $parser->getInjections ();
			if (sizeof ( $injections ) > 0) {
				self::store ( $controller, $parser->__toString () );
			}
		}
	}
public static function init(&$config) {
		$controllers = CacheManager::getControllers ();
		foreach ( $controllers as $controller ) {
			CacheManager::$cache->remove( self::getControllerCacheKey ( $controller ));
			$parser = new DiControllerParser ();
			$parser->parse ( $controller, $config );
			$injections = $parser->getInjections ();
			if (sizeof ( $injections ) > 0) {
				self::store ( $controller, $parser->__toString () );
			}
		}
	}
public static function init ( & $ config ) { $ controllers = CacheManager :: getControllers ( ) ; foreach ( $ controllers as $ controller ) { CacheManager :: $ cache -> remove ( self :: getControllerCacheKey ( $ controller ) ) ; $ parser = new DiControllerParser ( ) ; $ parser -> parse ( $ controller , $ config ) ; $ injections = $ parser -> getInjections ( ) ; if ( sizeof ( $ injections ) > 0 ) { self :: store ( $ controller , $ parser -> __toString ( ) ) ; } } }
Initialize dependency injection cache
To use in dev only!

@param array $config
Initialize dependency injection cache To use in dev only!