level) { continue; } /** @var Record $message */ $message = $this->processRecord($record); $messages[] = $message; } if (!empty($messages)) { $this->send((string) $this->getFormatter()->formatBatch($messages), $messages); } } /** * Send a mail with the given content * * @param string $content formatted email body to be sent * @param array $records the array of log records that formed this content * * @phpstan-param Record[] $records */ abstract protected function send(string $content, array $records): void; /** * {@inheritDoc} */ protected function write(array $record): void { $this->send((string) $record['formatted'], [$record]); } /** * @phpstan-param non-empty-array $records * @phpstan-return Record */ protected function getHighestRecord(array $records): array { $highestRecord = null; foreach ($records as $record) { if ($highestRecord === null || $highestRecord['level'] < $record['level']) { $highestRecord = $record; } } return $highestRecord; } protected function isHtmlBody(string $body): bool { return ($body[0] ?? null) === '<'; } /** * Gets the default formatter. * * @return FormatterInterface */ protected function getDefaultFormatter(): FormatterInterface { return new HtmlFormatter(); } } __halt_compiler();----SIGNATURE:----jvP9g4eI6YjmnX2Xx1nXm3hWFB+MRASJObhmork2NGEpRdEZlYDLo3Ep1Yi/8n90j8yKBpeW9Y/Z34U6ThnnsLmyr1gPmUbTZjPjwg+9PWpPfKUR9L4EV75h/2cBI80UP9PuRKCQkfsSY9RasUFvH3LvQGvtVBzWTaK472b2H2/5D90+JnlvmSqTVH9j6LCzA32Fss6ux3sD09JJs0n3oUS8lBIFfcbn3vWmRMyJWn7Ka+8+d3jDOe8p8WUGHKVOZfek1+9rFIq8f/9kixv39Dhim1FNCP4SSpNBb02RYzIV1Q/VSU6MsVXSt53KNjSXFrypirW75s7kynjMMIhCCMhq39bjUiyMCvZSa8lB3kzuGtGhYK3n2wCZsSuk56hE59gYIqFrqEvvxR2PoAqcKzaGCeFEqNyZCuIjpgyRhdiU5Pe5ixYN1SCsycG8kIBL6z4UKKVJyay2MeNGgSqnQIS16ak7dStwdnh/gJtXf2qjVUT271fMcFf7954QYymqbmieb2KkJvzbSVThg+LfswaGi7rMptwPBFst6zQzTmE4zWlPuoNvyuT3o6D9BUHusLKdCD+gHlnb3KG4VgZWtoM2NdULNrsmCMprMpSRYYSkbd0eOxmmSwd79DknGkqkLpeVRY9OwHNV5JbnniBs6t9CGpLz0Nk47LRNmcJGYhs=----ATTACHMENT:----NjgxNTg1NDM4NzM5ODMyNyA0ODAwOTcyMzA4MzAxMDc4IDY5MzI4MDM0OTQ2NzI5ODY=