public static function _init(): Core
    {
        static::$framework = new Core();
        static::$framework->createDIContainer();
        try {
            static::$framework->fireEvent('initialized');
        } catch (\Exception $e) {
            echo('Unable to fire initialization.');
            exit();
        }
        $router = new Router();
        $mcl = new ModuleControllerLoader();
        static::$framework->response = new Response($router, $mcl);
        return static::$framework;
    }
public static function _init(): Core
    {
        static::$framework = new Core();
        static::$framework->createDIContainer();
        try {
            static::$framework->fireEvent('initialized');
        } catch (\Exception $e) {
            echo('Unable to fire initialization.');
            exit();
        }
        $router = new Router();
        $mcl = new ModuleControllerLoader();
        static::$framework->response = new Response($router, $mcl);
        return static::$framework;
    }
public static function _init ( ) : Core { static :: $ framework = new Core ( ) ; static :: $ framework -> createDIContainer ( ) ; try { static :: $ framework -> fireEvent ( 'initialized' ) ; } catch ( \ Exception $ e ) { echo ( 'Unable to fire initialization.' ) ; exit ( ) ; } $ router = new Router ( ) ; $ mcl = new ModuleControllerLoader ( ) ; static :: $ framework -> response = new Response ( $ router , $ mcl ) ; return static :: $ framework ; }
Function initializes the framework object.

@return Core
Function initializes the framework object .