Exemplo n.º 1
0
 /**
  * Get an instance of the class
  * @return object
  */
 public static function getInstance()
 {
     if (!self::$instance) {
         self::$instance = new self();
     }
     return self::$instance;
 }