Menu

## FormattableHandlerInterface
in

FormattableHandlerInterface.php : 23

Interface to describe loggers that have a formatter

This interface is present in monolog 1.x to ease forward compatibility.

##### Tags

author

  Jordi Boggiano j.boggiano@seld.be

### Table of Contents

getFormatter() : FormatterInterface
  Gets the formatter.
setFormatter() : HandlerInterface
  Sets the formatter.

### Methods

#### getFormatter()

FormattableHandlerInterface.php : 38

Gets the formatter.

`public getFormatter() : FormatterInterface`

##### Return values

FormatterInterface —

#### setFormatter()

FormattableHandlerInterface.php : 31

Sets the formatter.

`public setFormatter(FormatterInterface $formatter) : HandlerInterface`

##### Parameters

$formatter : FormatterInterface

##### Return values

HandlerInterface —

self

## Search results