/** * @param BenchmarkReportInterface $report * * @return string */ private function createLogFromReport(BenchmarkReportInterface $report) { $logs = $this->getLogLine($report->getSiteToBenchmark()); foreach ($report->getSitesToCompare() as $site) { $logs .= $this->getLogLine($site); } return $logs; }
/** * Generates sms content */ private function generateBody() { $this->body = sprintf('Website %s is loaded slower than at least one of the competitors', $this->benchmark->getSiteToBenchmark()); }