public function getBreachManager($slaConfigFilePath, $loggingConfigFilePath, $logDirPath)
 {
     $slaConfigManager = new ConfigManager($slaConfigFilePath);
     $loggingConfigManager = LoggingConfigManagerFactory::getInstance()->getLoggingConfigManager($loggingConfigFilePath);
     $pageDao = PageDaoFactory::getInstance()->getPageDao();
     $loadTimeSummaryDao = LoadTimeSummaryDaoFactory::getInstance()->getLoadTimeSummaryDao();
     $slackApiIncomingWebhookManager = SlackApiIncomingWebhookFactory::getInstance()->getManager();
     $activityLogger = LoggerFactory::getInstance()->getFileLogger('BoomSlaBreachManager', $logDirPath);
     return new BreachManager($slaConfigManager, $loggingConfigManager, $pageDao, $loadTimeSummaryDao, $slackApiIncomingWebhookManager, $activityLogger);
 }
 public function getBreachManager($errorConfigFilePath, $loggingConfigFilePath, $elasticSearchConfigFilePath, $logDirPath)
 {
     $errorConfigManager = ErrorConfigManagerFactory::getInstance()->getManager($errorConfigFilePath);
     $slaConfigManager = new ConfigManager($errorConfigManager);
     $loggingConfigManager = LoggingConfigManagerFactory::getInstance()->getLoggingConfigManager($loggingConfigFilePath);
     $elasticSearchDao = ElasticSearchDaoFactory::getInstance()->getElasticSearchDao($elasticSearchConfigFilePath, 'newmonk_error');
     $slackApiIncomingWebhookManager = SlackApiIncomingWebhookFactory::getInstance()->getManager();
     $activityLogger = LoggerFactory::getInstance()->getFileLogger('ErrorSlaBreachManager', $logDirPath);
     return new BreachManager($slaConfigManager, $loggingConfigManager, $elasticSearchDao, $slackApiIncomingWebhookManager, $activityLogger);
 }