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