Remove exception when multi_field type is used
This commit is contained in:
parent
9b5c26d3e3
commit
7717d4d580
1 changed files with 0 additions and 2 deletions
|
|
@ -53,8 +53,6 @@ class ModelToElasticaAutoTransformer implements ModelToElasticaTransformerInterf
|
|||
$submapping = $mapping['properties'];
|
||||
$subcollection = $property->getValue($object);
|
||||
$document->add($key, $this->transformNested($subcollection, $submapping, $document));
|
||||
} else if (isset($mapping['type']) && $mapping['type'] == 'multi_field') {
|
||||
throw new \Exception('Please implement me !');
|
||||
} else if (isset($mapping['type']) && $mapping['type'] == 'attachment') {
|
||||
$attachment = $property->getValue($object);
|
||||
if ($attachment instanceof \SplFileInfo) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue