4 private static $uniqueInstance = null;
6 protected function __construct()
10 final private function __clone()
14 public static function getInstance()
16 if (self::$uniqueInstance === null) {
17 self::$uniqueInstance = new self;
20 return self::$uniqueInstance;