| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 31 | protected function getBooksDependencies(\SimpleXMLElement $data, \SimpleXMLElement $book) |
||
| 32 | { |
||
| 33 | $era = $book->xpath('parent::era'); |
||
| 34 | |||
| 35 | return array_merge( |
||
| 36 | parent::getBooksDependencies($data, $book), |
||
| 37 | array( |
||
| 38 | 'chronologicalMarker' => new $this->classes['chronologicalMarker']( |
||
| 39 | array( |
||
| 40 | 'timeStart' => (string) $book->{'time'}, |
||
| 41 | 'era' => new $this->classes['era']($this->getSimpleXmlElementAttributesAsArray(reset($era))), |
||
| 42 | ) |
||
| 43 | ) |
||
| 44 | ) |
||
| 45 | ); |
||
| 46 | } |
||
| 47 | } |
||
| 48 |