Plop
A simple logging library for PHP
|
A filter that inverts the result of another filter. More...
Public Member Functions | |
__construct (\Plop\FilterInterface $filter) | |
filter (\Plop\RecordInterface $record) | |
Protected Attributes | |
$subfilter | |
Subfilter to negate. | |
Plop\Filter\Not::__construct | ( | \Plop\FilterInterface | $filter | ) |
Construct a new instance of this filter.
Plop::FilterInterface | $filter | Subfilter whose filtering effect will be inverted by this filter instance. |
Plop\Filter\Not::filter | ( | \Plop\RecordInterface | $record | ) |
Return whether the given record should be handled or filtered out.
Plop::RecordInterface | $record | The record to filter. |
bool | Whether the given record should be handled normalled (true) or filtered out (false). |
Implements Plop\FilterInterface.