mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-10 23:24:02 +02:00
Fluent interface for AbstractHandler::setFormatter()
This commit is contained in:
@@ -97,6 +97,8 @@ abstract class AbstractHandler implements HandlerInterface
|
|||||||
public function setFormatter(FormatterInterface $formatter)
|
public function setFormatter(FormatterInterface $formatter)
|
||||||
{
|
{
|
||||||
$this->formatter = $formatter;
|
$this->formatter = $formatter;
|
||||||
|
|
||||||
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user