* An example for this filter: * * {@example ../../examples/php/filter_denyall.php 19} * *
* The corresponding XML file: * * {@example ../../examples/resources/filter_denyall.xml 18} * * @version $Revision: 883108 $ * @package log4php * @subpackage filters * @since 0.3 */ class LoggerFilterDenyAll extends LoggerFilter { /** * Always returns the integer constant {@link LoggerFilter::DENY} * regardless of the {@link LoggerLoggingEvent} parameter. * * @param LoggerLoggingEvent $event The {@link LoggerLoggingEvent} to filter. * @return LoggerFilter::DENY Always returns {@link LoggerFilter::DENY} */ public function decide(LoggerLoggingEvent $event) { return LoggerFilter::DENY; } }