Exemple #1
0
 public static function instance()
 {
     if (self::$_instance === false) {
         // create instance
         self::$_instance = true;
     }
     return self::$_instance;
 }