/**
  * @return WP_SpotIM
  */
 public static function instance()
 {
     if (is_null(self::$_instance)) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
Example #2
0
 /**
  * @return WP_SpotIM
  */
 public static function instance()
 {
     if (is_null(self::$_instance)) {
         self::$_instance = new self();
         self::$_instance->setup_constants();
         self::$_instance->includes();
         self::$_instance->dependencies();
     }
     return self::$_instance;
 }