static public function getInstance(){
		if (!isset(self::$_instance)) {
			if (!sfConfig::get('app_amg_sentry_dsn')) {
				throw new Exception('Please configure amgSentryPlugin in your app.yml (use model in "amgSentryPlugin/config/app.yml")');
			}
			self::$_instance = new amgSentry(sfConfig::get('app_amg_sentry_dsn'), array('release' => sfConfig::get('app_amg_sentry_release')));
		}
		return self::$_instance;
	}
static public function getInstance(){
		if (!isset(self::$_instance)) {
			if (!sfConfig::get('app_amg_sentry_dsn')) {
				throw new Exception('Please configure amgSentryPlugin in your app.yml (use model in "amgSentryPlugin/config/app.yml")');
			}
			self::$_instance = new amgSentry(sfConfig::get('app_amg_sentry_dsn'), array('release' => sfConfig::get('app_amg_sentry_release')));
		}
		return self::$_instance;
	}
static public function getInstance ( ) { if ( ! isset ( self :: $ _instance ) ) { if ( ! sfConfig :: get ( 'app_amg_sentry_dsn' ) ) { throw new Exception ( 'Please configure amgSentryPlugin in your app.yml (use model in "amgSentryPlugin/config/app.yml")' ) ; } self :: $ _instance = new amgSentry ( sfConfig :: get ( 'app_amg_sentry_dsn' ) , array ( 'release' => sfConfig :: get ( 'app_amg_sentry_release' ) ) ) ; } return self :: $ _instance ; }
Retrieves the singleton instance of this class.

@return amgSentry A amgSentry implementation instance.
Retrieves the singleton instance of this class .