Completed
Push — v2.0 ( c502f2...cf0b32 )
by Serhii
02:20
created

DataWithVersion   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 16
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/**
3
 * @author Sergey Nehaenko <[email protected]>
4
 * @license GPL
5
 * @copyright Sergey Nehaenko &copy 2016
6
 * @version 2.0
7
 * @project browser-detector
8
 */
9
10
namespace EndorphinStudio\Detector;
11
12
13
class DataWithVersion extends Data
14
{
15
    /**
16
     * @var string Version
17
     */
18
    public $Version;
19
20
    /**
21
     * DataWithVersion constructor.
22
     * @param \SimpleXMLElement $xmlData Xml data from file
23
     */
24
    public function __construct($xmlData)
25
    {
26
        parent::__construct($xmlData);
27
    }
28
}