示例#1
0
 public function handle($stanza, $parent = false)
 {
     $session = \Sessionx::start();
     //if($stanza->required) {
     $ss = new Bind();
     $ss->setResource($session->resource)->request();
     //}
 }
示例#2
0
 public function handle($stanza, $parent = false)
 {
     $session = \Session::start();
     $ss = new Bind();
     $ss->setResource($session->get('resource'))->request();
 }