Exemplo n.º 1
0
 public static function getInstance()
 {
     if (!is_object(self::$objInstance)) {
         self::$objInstance = new self();
         self::$objInstance->__construct();
     }
     return self::$objInstance;
 }