src/sb/XMPP/Client.php
public function sendPresence(\sb\XMPP\Presence $presence)
    {

        $presence->setFrom($this->jid);
        return $this->write($presence);
    }
public function sendPresence(\sb\XMPP\Presence $presence)
    {

        $presence->setFrom($this->jid);
        return $this->write($presence);
    }
public function sendPresence ( \ sb \ XMPP \ Presence $ presence ) { $ presence -> setFrom ( $ this -> jid ) ; return $ this -> write ( $ presence ) ; }
Converts a presense request instance to XML and sends it.  It sets the from
to the bots jid for you

@param \sb\XMPP\Presence $presence The presence instance to send
@return boolean
Converts a presense request instance to XML and sends it . It sets the from to the bots jid for you