Lines Matching refs:handler
49 protected $handler; variable in Monolog\\Handler\\FingersCrossedHandler
71 …* @param callable|HandlerInterface $handler Handler or factory callable($r…
81 …public function __construct($handler, $activationStrategy = null, int $bufferSize = 0, bool $bubbl… argument
92 $this->handler = $handler;
102 if (!$this->handler instanceof HandlerInterface && !is_callable($this->handler)) {
103 …throw new \RuntimeException("The given handler (".json_encode($this->handler).") is not a callable…
215 if (!$this->handler instanceof HandlerInterface) {
216 $this->handler = ($this->handler)($record, $this);
217 if (!$this->handler instanceof HandlerInterface) {
222 return $this->handler;
230 $handler = $this->getHandler();
231 if ($handler instanceof FormattableHandlerInterface) {
232 $handler->setFormatter($formatter);
237 …throw new \UnexpectedValueException('The nested handler of type '.get_class($handler).' does not s…
245 $handler = $this->getHandler();
246 if ($handler instanceof FormattableHandlerInterface) {
247 return $handler->getFormatter();
250 …throw new \UnexpectedValueException('The nested handler of type '.get_class($handler).' does not s…