xsIDREF   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

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