Fully Qualified Name: | Zend\Log\Filter\Timestamp |
Implements: | FilterInterface |
Filters log events based on the time when they were triggered.
Name | Description | Defined By |
---|---|---|
__construct() | Timestamp | |
filter() | Returns TRUE if timestamp is accepted, otherwise FALSE is returned. | Timestamp |
Parameter Name | Type | Description |
---|---|---|
$value | int|\DateTime|array|\Traversable | DateTime |
$dateFormatChar | string | PHP |
$operator | string | Comparison |
Returns: \Timestamp
Returns TRUE if timestamp is accepted, otherwise FALSE is returned.
Parameter Name | Type | Description |
---|---|---|
$event | array | event |
Returns: bool