PugoAddress   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A createFromXML() 0 3 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