Skip to content
Browse files

Merge pull request #197 from craigmarvelley/allow-multi-field-type

Remove exception when multi_field type is used
  • Loading branch information...
2 parents 9b5c26d + 7717d4d commit 04ddfcce43965f877c3669906fee13103a8bd630 @richardmiller richardmiller committed Nov 30, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 Transformer/ModelToElasticaAutoTransformer.php
View
2 Transformer/ModelToElasticaAutoTransformer.php
@@ -53,8 +53,6 @@ public function transform($object, array $fields)
$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) {

0 comments on commit 04ddfcc

Please sign in to comment.
Something went wrong with that request. Please try again.