Completed
Push — master ( 939cef...4aee11 )
by Kacper
03:59
created

Query::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
cc 1
eloc 2
nc 1
nop 3
rs 10
1
<?php
2
/**
3
 * Nucleus - XMPP Library for PHP
4
 *
5
 * Copyright (C) 2016, Some rights reserved.
6
 *
7
 * @author Kacper "Kadet" Donat <[email protected]>
8
 *
9
 * Contact with author:
10
 * Xmpp: [email protected]
11
 * E-mail: [email protected]
12
 *
13
 * From Kadet with love.
14
 */
15
16
namespace Kadet\Xmpp\Stanza\Iq;
17
18
19
use Kadet\Xmpp\Xml\XmlElement;
20
21
class Query extends XmlElement
22
{
23
    /**
24
     * Query constructor
25
     *
26
     * @param string $uri        Namespace URI of element
27
     * @param string $name       Element name, including prefix if needed
28
     * @param array  $options    {
29
     * @var mixed    $content    Content of element
30
     * @var array    $attributes Element attributes
31
     *                           }
32
     */
33
    public function __construct($uri, $name = 'query', array $options = [])
34
    {
35
        parent::__construct($name, $uri, $options);
36
    }
37
38
}
39