xsIDREF::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
namespace AlgoWeb\xsdTypes;
3
4
/**
5
 * CThe type xsd:IDREF is used for an attribute that references an ID.  All attributes of type xsd:IDREF must reference
6
 * an xsd:ID in the same XML document.  A common use case for xsd:IDREF is to create a cross-reference to a particular
7
 * section of a document.  Like ID, an xsd:IDREF value must be an NCName.
8
 * @package AlgoWeb\xsdTypes
9
 */
10
class xsIDREF extends xsNCName
11
{
12
    /**
13
     * Construct.
14
     *
15
     * @param string $value
16
     */
17
    public function __construct($value)
18
    {
19
        parent::__construct($value);
20
    }
21
}
22