28 foreach ($records as $record) {
29 if ($record[
'level'] < $this->level) {
53 $this->
send((
string) $record[
'formatted'],
array($record));
58 $highestRecord = null;
59 foreach ($records as $record) {
60 if ($highestRecord === null || $highestRecord[
'level'] < $record[
'level']) {
61 $highestRecord = $record;
65 return $highestRecord;
getHighestRecord(array $records)
Base Handler class providing the Handler structure.
send($content, array $records)
Send a mail with the given content.
getFormatter()
{Gets the formatter.FormatterInterface}
Create styles array
The data for the language used.
handleBatch(array $records)
{Handles a set of records at once.The records to handle (an array of record arrays)} ...
processRecord(array $record)
Processes a record.
Base class for all mail handlers.