51 \Erebot\Interfaces\Connection $connection,
54 $this->connection = $connection;
58 public function getName()
63 public function getValue()
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.
$connection
IRC connection this reference is valid for.
__construct(\Erebot\Interfaces\Connection $connection, $name)