Class Timestamp

Summary

Fully Qualified Name: Laminas\Log\Filter\Timestamp
Implements: FilterInterface

Description

Filters log events based on the time when they were triggered.

Methods

Name Description Defined By
__construct() Timestamp
filter() Returns TRUE if timestamp is accepted, otherwise FALSE is returned. Timestamp

Method Details

__construct()

Parameter Name Type Description
$value int|\DateTime|array|\Traversable DateTime
$dateFormatChar string PHP
$operator string Comparison

Returns: \Timestamp

filter()

Returns TRUE if timestamp is accepted, otherwise FALSE is returned.

Parameter Name Type Description
$event array event

Returns: bool

Top