| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 108 | 45 | public static function loadGroupRef(Group $referenced, DOMElement $node) |
|
| 109 | { |
||
| 110 | 45 | $ref = new self($referenced); |
|
| 111 | 45 | $ref->setDoc(SchemaReader::getDocumentation($node)); |
|
| 112 | |||
| 113 | 45 | SchemaReader::maybeSetMax($ref, $node); |
|
| 114 | 45 | SchemaReader::maybeSetMin($ref, $node); |
|
| 115 | |||
| 116 | 45 | return $ref; |
|
| 117 | } |
||
| 119 |