コード例 #1
0
 /**
  * Singleton pattern. Get the instance of the latest created object or create a new one. 
  *
  * @return CBehovsboboxen The instance of this class.
  */
 public static function Instance()
 {
     return is_null(self::$instance) ? self::$instance = new static() : self::$instance;
 }