Main::instance()

Singleton Instance of the LifterLMS_CLI class


Return Return

(LifterLMSCLILifterLMS_CLI)


Top ↑

Source Source

File: libraries/lifterlms-cli/src/Main.php

45
46
47
48
49
50
51
52
53
public static function instance() {
 
    if ( is_null( self::$instance ) ) {
        self::$instance = new self();
    }
 
    return self::$instance;
 
}

Top ↑

Changelog Changelog

Changelog
Version Description
0.0.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.