public function init() { if ($this->isEnabled()) { $this->xmppclient = \PHPDaemon\Clients\XMPP\Pool::getInstance(); } }