1 | <?php |
||
30 | class Iq extends Stanza |
||
31 | { |
||
32 | /** |
||
33 | * Stanza constructor. |
||
34 | * @param array $options { |
||
35 | * @var Jid $from Jid representing "from" stanza attribute |
||
36 | * @var Jid $to Jid representing "to" stanza attribute |
||
37 | * @var string $id Unique id, will be generated if omitted |
||
38 | * @var string $type Stanza type |
||
39 | * @var mixed $content Stanza content |
||
40 | * @var array $arguments Stanza arguments |
||
41 | * @var Query $query Query associated with stanza |
||
42 | * } |
||
43 | */ |
||
44 | public function __construct(array $options) |
||
48 | |||
49 | protected function appendChild($element) |
||
57 | |||
58 | #region Query |
||
59 | /** |
||
60 | * @return Query |
||
61 | */ |
||
62 | public function getQuery() |
||
66 | |||
67 | /** |
||
68 | * @param Query $query |
||
69 | */ |
||
70 | public function setQuery(Query $query) |
||
75 | #endregion |
||
76 | |||
77 | public static function getXmlCollocations() : array |
||
84 | } |
||
85 |