/** * Get instance of the SNIP client * @return SugarSNIP SNIP client instance */ public static function getInstance() { if (!self::$instance) { self::$instance = new self(); } return self::$instance; }