Exemplo n.º 1
0
 public static function getInstance()
 {
     if (!isset(self::$instance)) {
         self::$instance = new self();
     }
     return self::$instance;
 }
Exemplo n.º 2
0
 public function __construct()
 {
     $dataBase = app_importer_lib_DataBase::getInstance();
     $this->dataBase = $dataBase;
 }