Doctrine/AbstractElasticaToModelTransformer.php 1 location
|
@@ 87-89 (lines=3) @@
|
| 84 |
|
} |
| 85 |
|
|
| 86 |
|
$objects = $this->findByIdentifiers($ids, $this->options['hydrate']); |
| 87 |
|
if (!$this->options['ignore_missing'] && count($objects) < count($elasticaObjects)) { |
| 88 |
|
throw new \RuntimeException('Cannot find corresponding Doctrine objects for all Elastica results.'); |
| 89 |
|
}; |
| 90 |
|
|
| 91 |
|
foreach ($objects as $object) { |
| 92 |
|
if ($object instanceof HighlightableModelInterface) { |
Propel/ElasticaToModelTransformer.php 1 location
|
@@ 68-70 (lines=3) @@
|
| 65 |
|
|
| 66 |
|
$objects = $this->findByIdentifiers($ids, $this->options['hydrate']); |
| 67 |
|
|
| 68 |
|
if (!$this->options['ignore_missing'] && count($objects) < count($elasticaObjects)) { |
| 69 |
|
throw new \RuntimeException('Cannot find corresponding Propel objects for all Elastica results.'); |
| 70 |
|
} |
| 71 |
|
|
| 72 |
|
$_objects = []; |
| 73 |
|
foreach ($objects as $object) { |