789. Class

789.1. Zend\Log\Formatter\Base

789.1.1. Methods

789.1.1.1. __construct

__construct()

Class constructor

Parameters:null|string|array|Traversable – Format for DateTime objects

789.1.1.2. format

format()

Formats data to be written by the writer.

Parameters:array – event data
Return type:array

789.1.1.3. normalize

normalize()

Normalize all non-scalar data types (except null) in a string value

Parameters:mixed
Return type:mixed

789.1.1.4. getDateTimeFormat

getDateTimeFormat()

{@inheritDoc}

789.1.1.5. setDateTimeFormat

setDateTimeFormat()

{@inheritDoc}

Project Versions

Table Of Contents

Previous topic

781. Function

Next topic

790. Class

This Page