public function __construct(string $nickname, string $username, string $hostname, string $serverName, string $command, string $params) { $this->nickname = $nickname; $this->username = $username; $this->hostname = $hostname; $this->serverName = $serverName; parent::__construct($command, $params); }
public function __construct(array $targets, string $text) { parent::__construct('PRIVMSG', implode(',', $targets) . ' :' . $text); }