Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace FabiangXmppProtocol;
- use FabiangXmppUtilXML;
- class RegisterUserER implements ProtocolImplementationInterface
- {
- protected $username;
- protected $password;
- protected $email;
- public function __construct($username, $password, $email)
- {
- $this->username = $username;
- $this->password = $password;
- $this->email = $email;
- }
- public function toString()
- {
- $query = "%s%s%s";
- return XML::quoteMessage($query, XML::generateId(), (string) $this->username, (string) $this->password, (string) $this->email);
- }
Add Comment
Please, Sign In to add comment