Beispiel #1
0
 /**
  * Get a singleton instance of the client.
  *
  * This is the intended way to access the Errbit client.
  *
  * @return [Errbit]
  *   a singleton
  */
 public static function instance()
 {
     if (!isset(self::$_instance)) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }