/** * Get the underlying Monolog instance. * * @return \Monolog\Logger */ public function getMonolog() : MonologLogger { return $this->handlerParser->getMonolog(); }
public function testGetMonolog() { $handler = new HandlerParser($this->mock(Logger::class)); $this->assertInstanceOf(Logger::class, $handler->getMonolog()); }