src/Entity/Product/ProductOptionValue.php line 15

  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Entity\Product;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Sylius\Component\Product\Model\ProductOptionValue as BaseProductOptionValue;
  6. use Sylius\Component\Product\Model\ProductOptionValueTranslationInterface;
  7. /**
  8.  * @ORM\Entity
  9.  * @ORM\Table(name="sylius_product_option_value")
  10.  */
  11. class ProductOptionValue extends BaseProductOptionValue
  12. {
  13.     protected function createTranslation(): ProductOptionValueTranslationInterface
  14.     {
  15.         return new ProductOptionValueTranslation();
  16.     }
  17. }