Documentation

ProcessableHandlerInterface

Interface to describe loggers that have processors

Tags
author

Jordi Boggiano j.boggiano@seld.be

phpstan-import-type

Record from \Monolog\Logger

Table of Contents

popProcessor()  : callable|ProcessorInterface
Removes the processor on top of the stack and returns it.
pushProcessor()  : HandlerInterface
Adds a processor in the stack.

Methods

popProcessor()

Removes the processor on top of the stack and returns it.

public popProcessor() : callable|ProcessorInterface
Tags
psalm-return

ProcessorInterface|callable(Record): Record $callback

throws
LogicException

In case the processor stack is empty

Return values
callable|ProcessorInterface

Search results