public static function createWebApp($config = NULL) { self::$app = self::createApp('IApplication', $config); return self::$app; }