| Conditions | 2 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | public static function fromValue(EntityManager $entityManager, $resultType, \stdClass $value) |
||
| 11 | { |
||
| 12 | $searchResultInfo = SearchResultInfo::fromValue($entityManager, $value); |
||
| 13 | $results = SearchResult::fromList($resultType, is_array($value->results) ? $value->results : []); |
||
| 14 | |||
| 15 | return new self($searchResultInfo, $results); |
||
| 16 | } |
||
| 17 | |||
| 54 |