Example #1
0
 /**
  * Returns an instance of the Swift class.
  * @return Swift A Swift object
  */
 public static function getInstance()
 {
     if (!self::$m_instance) {
         self::$m_instance = new Swift();
     }
     return self::$m_instance;
 }