Пример #1
0
 /**
  * Setup the instance (singleton)
  *
  * @return Encryption
  */
 public static function getInstance()
 {
     if (!self::$_instance instanceof self) {
         self::$_instance = new self();
     }
     self::$_instance->setup();
     return self::$_instance;
 }