| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | 45 | public function addAttributeFromAttributeOrRef( |
|
| 17 | SchemaReader $reader, |
||
| 18 | DOMElement $childNode, |
||
| 19 | Schema $schema, |
||
| 20 | DOMElement $node |
||
| 21 | ) { |
||
| 22 | 45 | $attribute = Attribute::getAttributeFromAttributeOrRef( |
|
| 23 | 45 | $reader, |
|
| 24 | 45 | $childNode, |
|
| 25 | 45 | $schema, |
|
| 26 | $node |
||
| 27 | 45 | ); |
|
| 28 | |||
| 29 | 45 | $this->addAttribute($attribute); |
|
| 30 | 45 | } |
|
| 32 |