| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 15 |
| Ratio | 100 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 18 | protected function getLibraryDependencies(\SimpleXMLElement $data) |
||
| 19 | { |
||
| 20 | return array_merge( |
||
| 21 | parent::getLibraryDependencies($data), |
||
| 22 | array( |
||
| 23 | 'eras' => $this->buildClassInstanceFromNodeAttributes($data, '//books/era', 'era'), |
||
| 24 | ) |
||
| 25 | ); |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritDoc} |
||
| 30 | */ |
||
| 31 | protected function getBooksDependencies(\SimpleXMLElement $data, \SimpleXMLElement $book) |
||
| 32 | { |
||
| 33 | $era = $book->xpath('parent::era'); |
||
| 48 |