public function handle($stanza, $parent = false) { //$node = $stanza->attributes()->node.'#'.$stanza->attributes()->ver; $to = (string) $parent->attributes()->from; $id = (string) $parent->attributes()->id; Ping::pong($to, $id); }
public function handle($stanza, $parent = false) { $to = (string) $parent->attributes()->from; $id = (string) $parent->attributes()->id; Ping::pong($to, $id); }