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

A filter that always matches. More...

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

Public Member Functions

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

Detailed Description

A filter that always matches.

Definition at line 27 of file Always.php.

Member Function Documentation

Erebot\Event\Match\Always::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 Always.php.


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