Zend\Log\Filter\Validator
Synopsis
class Validator
implements
FilterInterface
{
- // members
- protected ValidatorInterface $validator;
- // methods
- public Validator __construct()
- public bool filter()
Hierarchy
Implements
Members
protected
- $validator
—
Zend\Validator\ValidatorInterface
Regex to match
Methods
public
- __construct() — Filter out any log messages not matching the validator
- filter() — Returns TRUE to accept the message, FALSE to block it.