Erebot  latest
A modular IRC bot for PHP 5.3+
Erebot\Event\Match\Never Class Reference

A filter that never matches. More...

+ Inheritance diagram for Erebot\Event\Match\Never:

Public Member Functions

 match (\Erebot\Interfaces\Event\Base\Generic $event)
 

Detailed Description

A filter that never matches.

Definition at line 27 of file Never.php.

Member Function Documentation

Erebot\Event\Match\Never::match ( \Erebot\Interfaces\Event\Base\Generic  $event)

Decides whether the given event passes the filter or not.

Parameters
$eventAn event to try to match to the criterion expressed by this filter.
Return values
booltrue if the event matches the criterion, false otherwise.

Implements Erebot\Interfaces\Event\Match.

Definition at line 29 of file Never.php.


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