芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/www/vendor/monolog/monolog/src/Monolog/Handler/ProcessableHandlerInterface.php
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Monolog\Handler; use Monolog\Processor\ProcessorInterface; /** * Interface to describe loggers that have processors * * @author Jordi Boggiano
*/ interface ProcessableHandlerInterface { /** * Adds a processor in the stack. * * @psalm-param ProcessorInterface|callable(array): array $callback * * @param ProcessorInterface|callable $callback * @return HandlerInterface self */ public function pushProcessor(callable $callback): HandlerInterface; /** * Removes the processor on top of the stack and returns it. * * @psalm-return callable(array): array * * @throws \LogicException In case the processor stack is empty * @return callable */ public function popProcessor(): callable; }