PugoAddress::createFromXML()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Bpost\BpostApiClient\Bpost\Order;
4
5
use SimpleXMLElement;
6
7
/**
8
 * bPost PugoAddress class
9
 *
10
 * @author Tijs Verkoyen <[email protected]>
11
 */
12
class PugoAddress extends Address
13
{
14
    const TAG_NAME = 'pugoAddress';
15
16
    /**
17
     * @param SimpleXMLElement $xml
18
     *
19
     * @return PugoAddress
20
     */
21
    public static function createFromXML(SimpleXMLElement $xml)
22
    {
23
        return parent::createFromXML($xml);
24
    }
25
}
26