Exemplo n.º 1
0
 /**
  * Returns singleton class instance
  * Always use this method unless you're working with multiple authenticated users at once
  *
  * @return Shapecode The instance
  */
 public static function getInstance()
 {
     if (self::$_instance == null) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }