-
Notifications
You must be signed in to change notification settings - Fork 4
/
XmlElementLookup.php
28 lines (24 loc) · 1.03 KB
/
XmlElementLookup.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/**
* Nucleus - XMPP Library for PHP
*
* Copyright (C) 2016, Some rights reserved.
*
* @author Kacper "Kadet" Donat <[email protected]>
*
* Contact with author:
* Xmpp: [email protected]
* E-mail: [email protected]
*
* From Kadet with love.
*/
return [
[\Kadet\Xmpp\Stream\Stream::class, 'name' => 'stream', 'uri' => \Kadet\Xmpp\Xml\XmlStream::NAMESPACE_URI],
[\Kadet\Xmpp\Stream\Features::class, 'name' => 'features', 'uri' => \Kadet\Xmpp\XmppClient::NAMESPACE_URI],
[\Kadet\Xmpp\Stream\Features\StartTls::class, 'name' => 'starttls', 'uri' => \Kadet\Xmpp\Stream\Features\StartTls::XMLNS],
[\Kadet\Xmpp\Stream\Error::class, 'name' => 'error', 'uri' => \Kadet\Xmpp\XmppClient::NAMESPACE_URI],
[\Kadet\Xmpp\Stanza\Stanza::class, 'uri' => 'jabber:client'],
[\Kadet\Xmpp\Stanza\Iq::class, 'name' => 'iq', 'uri' => 'jabber:client'],
[\Kadet\Xmpp\Stanza\Presence::class, 'name' => 'presence', 'uri' => 'jabber:client'],
[\Kadet\Xmpp\Stanza\Iq\Query\Roster::class, 'name' => 'query', 'uri' => 'jabber:iq:roster'],
];