Пример #1
0
 /**
  *
  */
 private static function getInstance()
 {
     if (is_null(self::$instance)) {
         self::$instance = new self();
     }
     return self::$instance;
 }
Пример #2
0
 /**
  */
 private static function getInstance()
 {
     if (is_null(self::$instance)) {
         self::$instance = new CRM_Queue_AllTests();
     }
     return self::$instance;
 }