Helper trait for implementing FormattableInterface

Trait
Methods
public getFormatter() : Monolog\Formatter\FormatterInterface
 
{@inheritdoc}

public setFormatter(Monolog\Formatter\FormatterInterface $formatter) : Monolog\Handler\HandlerInterface
 
{@inheritdoc}

  • suppress PhanTypeMismatchReturn
Properties
protected $formatter
 


  • var FormatterInterface
Methods
protected getDefaultFormatter() : Monolog\Formatter\FormatterInterface
 
Gets the default formatter.

Overwrite this if the LineFormatter is not a good default for your handler.

© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only