Exemple #1
0
 public static function obtain()
 {
     if (!self::$instance) {
         self::$instance = new crud();
     }
     return self::$instance;
 }
Exemple #2
0
 public static function getInstance()
 {
     if (self::$instance == false) {
         self::$instance = new CRUD();
     }
     return self::$instance;
 }