51 \
Erebot\Interfaces\Connection $connection,
54 $this->connection = $connection;
65 $profile = $this->connection->getNumericProfile();
66 return $profile[$this->name];
$name
Name of the numeric (eg. "RPL_WELCOME").
A class that holds a reference to an IRC numeric.
Interface for a class that holds a reference to an IRC numeric.
$connection
IRC connection this reference is valid for.
__construct(\Erebot\Interfaces\Connection $connection, $name)