1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-23 09:36:11 +02:00

Update SlackHandler tests && allow SlackRecord formatter change after construction

This commit is contained in:
Anton Nizhegorodov
2016-11-13 23:42:09 +02:00
committed by Haralan Dobrev
parent 01a2ac25a2
commit 08b577c657
4 changed files with 39 additions and 5 deletions

View File

@@ -226,4 +226,14 @@ class SlackRecord
return $string;
}
/**
* Sets the formatter
*
* @param FormatterInterface $formatter
*/
public function setFormatter(FormatterInterface $formatter)
{
$this->formatter = $formatter;
}
}