Exemple #1
0
 /**
  *
  * @return type 
  */
 public static function newInstance()
 {
     if (!self::$instance instanceof self) {
         self::$instance = new self();
     }
     return self::$instance;
 }
 public static function findThis()
 {
     if (!self::$instance) {
         self::$instance = new self();
     }
     return self::$instance;
 }