Class Validator

Summary

Fully Qualified Name: Zend\Log\Filter\Validator
Implements: FilterInterface

Description

Methods

Name Description Defined By
__construct() Filter out any log messages not matching the validator Validator
filter() Returns TRUE to accept the message, FALSE to block it. Validator

Method Details

__construct()

Filter out any log messages not matching the validator

Parameter Name Type Description
$validator \ZendValidator|array|\Traversable

Returns: \Validator

filter()

Returns TRUE to accept the message, FALSE to block it.

Parameter Name Type Description
$event array event

Returns: bool

Top