Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php declare(strict_types=1);
2
 
3
/*
4
 * This file is part of the Monolog package.
5
 *
6
 * (c) Jordi Boggiano <j.boggiano@seld.be>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
 
12
namespace Monolog\Handler;
13
 
14
use Monolog\Formatter\FormatterInterface;
15
 
16
/**
17
 * Interface to describe loggers that have a formatter
18
 *
19
 * @author Jordi Boggiano <j.boggiano@seld.be>
20
 */
21
interface FormattableHandlerInterface
22
{
23
    /**
24
     * Sets the formatter.
25
     *
26
     * @param  FormatterInterface $formatter
27
     * @return HandlerInterface   self
28
     */
29
    public function setFormatter(FormatterInterface $formatter): HandlerInterface;
30
 
31
    /**
32
     * Gets the formatter.
33
     *
34
     * @return FormatterInterface
35
     */
36
    public function getFormatter(): FormatterInterface;
37
}