GUMP::get_instance PHP Method

get_instance() public static method

Function to create and return previously created instance
public static get_instance ( ) : GUMP
return GUMP
    public static function get_instance()
    {
        if (self::$instance === null) {
            self::$instance = new self();
        }
        return self::$instance;
    }