Plop
A simple logging library for PHP
Plop\FiltersCollectionAbstract Class Reference

Abstract class for a collection of filters. More...

+ Inheritance diagram for Plop\FiltersCollectionAbstract:

Public Member Functions

 filter (\Plop\RecordInterface $record)
 
- Public Member Functions inherited from Plop\Collection
 count ()
 
 getIterator ()
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 

Public Attributes

const TYPE_HINT = '\\Plop\\FilterInterface'
 
- Public Attributes inherited from Plop\Collection
const TYPE_HINT = null
 

Additional Inherited Members

- Protected Attributes inherited from Plop\Collection
 $items = array()
 List of items in the collection.
 

Detailed Description

Abstract class for a collection of filters.

Definition at line 27 of file FiltersCollectionAbstract.php.

Member Function Documentation

Plop\FiltersCollectionAbstract::filter ( \Plop\RecordInterface  $record)
abstract

Apply the filters and return a flag indicating whether the given record should be handled or filtered out.

Parameters
Plop::RecordInterface$recordThe record to filter.
Return values
boolWhether the record should be handled normally (true) or filtered out (false).

The documentation for this class was generated from the following file: