Zend\Log\Formatter\FormatterInterface
Synopsis
interface FormatterInterface
{
- // constants
- const DEFAULT_DATETIME_FORMAT = 'c';
- // methods
- public string format()
- public string getDateTimeFormat()
- public FormatterInterface setDateTimeFormat()
Constants
Name | Value |
---|---|
DEFAULT_DATETIME_FORMAT | 'c' |
Methods
public
- format() — Formats data into a single line to be written by the writer.
- getDateTimeFormat() — Get the format specifier for DateTime objects
- setDateTimeFormat() — Set the format specifier for DateTime objects