| Conditions | 2 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 25 | public function consumeEvent(TransformEvent $event): void  | 
            ||
| 26 |     { | 
            ||
| 27 | $this->buildProperty($event, ProductInterface::class,  | 
            ||
| 28 |             function (ProductInterface $product, Document $document): void { | 
            ||
| 29 | /** @var ProductTranslationInterface $productTranslation */  | 
            ||
| 30 |                 foreach ($product->getTranslations() as $productTranslation) { | 
            ||
| 31 | $propertyName = $this->productDescriptionNameResolver->resolvePropertyName(  | 
            ||
| 32 | $productTranslation->getLocale()  | 
            ||
| 33 | );  | 
            ||
| 34 | $document->set($propertyName, $productTranslation->getDescription());  | 
            ||
| 35 | }  | 
            ||
| 40 |