| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 80% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class ElementRef extends AbstractElementSingle |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var ElementDef |
||
| 13 | */ |
||
| 14 | protected $wrapped; |
||
| 15 | |||
| 16 | 74 | public function __construct(ElementDef $element) |
|
| 17 | { |
||
| 18 | 74 | parent::__construct($element->getSchema(), $element->getName()); |
|
| 19 | 74 | $this->wrapped = $element; |
|
| 20 | 74 | } |
|
| 21 | |||
| 22 | 1 | public function getName(): string |
|
| 25 | } |
||
| 26 | |||
| 27 | 1 | public function getReferencedElement(): ElementDef |
|
| 30 | } |
||
| 31 | |||
| 32 | public function getType(): ?Type |
||
| 37 |