<?php
namespace WpBookingHotel\Wordpress\ECommerce;
use WpBookingHotel\Wordpress\ECommerce\WooCommerce\WooCommerce;
class ECommerce
{
    public static $instance=null;
    public static function getInstance(){
        if(!self::$instance){
            $using_ECommerce="WooCommerce";
            //set system using WooCommerce
            self::$instance=new WooCommerce();
            self::$instance->run();
        }
        return self::$instance;
    }
}