Exemple #1
0
 /**
  * Gets the instance of Preferences.
  *
  * @return Swift_Preferences
  */
 public static function getInstance()
 {
     if (!isset(self::$_instance)) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }