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