コード例 #1
0
 /**
  * If an instance of PlentymarketsConfig exists, it returns this instance.
  * Else it creates a new instance of PlentymarketsConfig.
  *
  * @return PlentymarketsConfig
  */
 public static function getInstance()
 {
     if (!self::$Instance instanceof self) {
         self::$Instance = new self();
     }
     return self::$Instance;
 }