HM\BackUpWordPress\Plugin::get_instance PHP Method

get_instance() public static method

Insures we always return the same object.
public static get_instance ( ) : Plugin
return Plugin
    public static function get_instance()
    {
        if (!self::$instance instanceof Plugin) {
            self::$instance = new Plugin();
        }
        return self::$instance;
    }