Erebot
latest
A modular IRC bot for PHP 7.0+
|
A class that holds a reference to an IRC numeric. More...
Public Member Functions | |
__construct (\Erebot\Interfaces\Connection $connection, $name) | |
getName () | |
getValue () | |
Protected Attributes | |
$connection | |
IRC connection this reference is valid for. | |
$name | |
Name of the numeric (eg. "RPL_WELCOME"). | |
A class that holds a reference to an IRC numeric.
This class holds a reference to an IRC numeric using its name (eg. "RPL_WELCOME"). The actual numeric code associated with this reference may vary dynamically depending on the numeric profile currently loaded for the connection.
Definition at line 32 of file NumericReference.php.
Erebot\NumericReference::__construct | ( | \Erebot\Interfaces\Connection | $connection, |
$name | |||
) |
Constructs a new reference to a numeric.
Erebot::Interfaces::Connection | $connection | Connection object this reference is valid for. |
string | $name | Name associated with the numeric this object should reference (such as "RPL_WELCOME"). |
Definition at line 50 of file NumericReference.php.