| Conditions | 3 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 37 | public function getRecords() |
||
| 38 | { |
||
| 39 | if (!is_null($this->records)) { |
||
| 40 | return $this->records; |
||
| 41 | } else { |
||
| 42 | $this->records = []; |
||
| 43 | foreach ($this->rawXml->recordings->children() as $recordXml) { |
||
| 44 | $this->records[] = new Record($recordXml); |
||
| 45 | } |
||
| 46 | } |
||
| 47 | |||
| 48 | return $this->records; |
||
| 49 | } |
||
| 50 | } |
||
| 51 |