Total Complexity | 6 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Coverage | 60% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class ElementRef extends AbstractElementSingle |
||
9 | { |
||
10 | /** |
||
11 | * @var ElementDef |
||
12 | */ |
||
13 | protected $wrapped; |
||
14 | |||
15 | 45 | public function __construct(ElementDef $element) |
|
16 | { |
||
17 | 45 | parent::__construct($element->getSchema(), $element->getName()); |
|
18 | 45 | $this->wrapped = $element; |
|
19 | 45 | } |
|
20 | |||
21 | /** |
||
22 | * @return ElementDef |
||
23 | */ |
||
24 | public function getReferencedElement() |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @return \GoetasWebservices\XML\XSDReader\Schema\Type\Type|null |
||
31 | */ |
||
32 | public function getType() |
||
33 | { |
||
34 | return $this->wrapped->getType(); |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @return ElementRef |
||
39 | */ |
||
40 | 45 | public static function loadElementRef( |
|
57 | } |
||
58 | } |
||
59 |