/** * Launch bootstrap and instanciate global services * @return void */ public static function boot() { // We just hardcode the preload first, as we need to trigger an event self::$preload = icms_preload_Handler::getInstance(); self::$preload->triggerEvent('startCoreBoot'); foreach (self::$services['boot'] as $name => $definition) { list($factory, $args) = $definition; self::loadService($name, $factory, $args); } //Cant do this here until common.php 100% refactored //self::$preload->triggerEvent('finishCoreBoot'); }