var/cache/dev/doctrine/orm/Proxies/__CG__AppEntityProduct.php line 9

Open in your IDE?
  1. <?php
  2. namespace Proxies\__CG__\App\Entity;
  3. /**
  4.  * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
  5.  */
  6. class Product extends \App\Entity\Product implements \Doctrine\ORM\Proxy\Proxy
  7. {
  8.     /**
  9.      * @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
  10.      *      three parameters, being respectively the proxy object to be initialized, the method that triggered the
  11.      *      initialization process and an array of ordered parameters that were passed to that method.
  12.      *
  13.      * @see \Doctrine\Common\Proxy\Proxy::__setInitializer
  14.      */
  15.     public $__initializer__;
  16.     /**
  17.      * @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
  18.      *
  19.      * @see \Doctrine\Common\Proxy\Proxy::__setCloner
  20.      */
  21.     public $__cloner__;
  22.     /**
  23.      * @var boolean flag indicating if this object was already initialized
  24.      *
  25.      * @see \Doctrine\Persistence\Proxy::__isInitialized
  26.      */
  27.     public $__isInitialized__ false;
  28.     /**
  29.      * @var array<string, null> properties to be lazy loaded, indexed by property name
  30.      */
  31.     public static $lazyPropertiesNames = array (
  32. );
  33.     /**
  34.      * @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
  35.      *
  36.      * @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
  37.      */
  38.     public static $lazyPropertiesDefaults = array (
  39. );
  40.     public function __construct(?\Closure $initializer null, ?\Closure $cloner null)
  41.     {
  42.         $this->__initializer__ $initializer;
  43.         $this->__cloner__      $cloner;
  44.     }
  45.     /**
  46.      * {@inheritDoc}
  47.      * @param string $name
  48.      */
  49.     public function __get($name)
  50.     {
  51.         $this->__initializer__ && $this->__initializer__->__invoke($this'__get', [$name]);
  52.         return parent::__get($name);
  53.     }
  54.     /**
  55.      * 
  56.      * @return array
  57.      */
  58.     public function __sleep()
  59.     {
  60.         if ($this->__isInitialized__) {
  61.             return ['__isInitialized__''' "\0" 'App\\Entity\\Product' "\0" 'id''' "\0" 'App\\Entity\\Product' "\0" 'position''' "\0" 'App\\Entity\\Product' "\0" 'category''' "\0" 'App\\Entity\\Product' "\0" 'productFile''' "\0" 'App\\Entity\\Product' "\0" 'productSchemaFile''' "\0" 'App\\Entity\\Product' "\0" 'productSchemaFileName''' "\0" 'App\\Entity\\Product' "\0" 'productSchemaFileSize''' "\0" 'App\\Entity\\Product' "\0" 'productSchemaFileUpdatedAt''' "\0" 'App\\Entity\\Product' "\0" 'descriptionSpreadsheet''' "\0" 'App\\Entity\\Product' "\0" 'productFileName''' "\0" 'App\\Entity\\Product' "\0" 'productFileSize''' "\0" 'App\\Entity\\Product' "\0" 'productFileUpdatedAt''' "\0" 'App\\Entity\\Product' "\0" 'subCategory''' "\0" 'App\\Entity\\Product' "\0" 'subSubCategory''' "\0" 'App\\Entity\\Product' "\0" 'subSubSubCategory''' "\0" 'App\\Entity\\Product' "\0" 'displayOnLanding''' "\0" 'App\\Entity\\Product' "\0" 'applicationProducts''' "\0" 'App\\Entity\\Product' "\0" 'productMedia''' "\0" 'App\\Entity\\Product' "\0" 'productDocuments''' "\0" 'App\\Entity\\Product' "\0" 'productProductTables''' "\0" 'App\\Entity\\Product' "\0" 'relatedProducts''' "\0" 'App\\Entity\\Product' "\0" 'relatedTargetProducts''' "\0" 'App\\Entity\\Product' "\0" 'isCustom''' "\0" 'App\\Entity\\Product' "\0" 'hideBaseProduct''' "\0" 'App\\Entity\\Product' "\0" 'productSpreadsheets''translations''newTranslations''currentLocale''defaultLocale'];
  62.         }
  63.         return ['__isInitialized__''' "\0" 'App\\Entity\\Product' "\0" 'id''' "\0" 'App\\Entity\\Product' "\0" 'position''' "\0" 'App\\Entity\\Product' "\0" 'category''' "\0" 'App\\Entity\\Product' "\0" 'productFile''' "\0" 'App\\Entity\\Product' "\0" 'productSchemaFile''' "\0" 'App\\Entity\\Product' "\0" 'productSchemaFileName''' "\0" 'App\\Entity\\Product' "\0" 'productSchemaFileSize''' "\0" 'App\\Entity\\Product' "\0" 'productSchemaFileUpdatedAt''' "\0" 'App\\Entity\\Product' "\0" 'descriptionSpreadsheet''' "\0" 'App\\Entity\\Product' "\0" 'productFileName''' "\0" 'App\\Entity\\Product' "\0" 'productFileSize''' "\0" 'App\\Entity\\Product' "\0" 'productFileUpdatedAt''' "\0" 'App\\Entity\\Product' "\0" 'subCategory''' "\0" 'App\\Entity\\Product' "\0" 'subSubCategory''' "\0" 'App\\Entity\\Product' "\0" 'subSubSubCategory''' "\0" 'App\\Entity\\Product' "\0" 'displayOnLanding''' "\0" 'App\\Entity\\Product' "\0" 'applicationProducts''' "\0" 'App\\Entity\\Product' "\0" 'productMedia''' "\0" 'App\\Entity\\Product' "\0" 'productDocuments''' "\0" 'App\\Entity\\Product' "\0" 'productProductTables''' "\0" 'App\\Entity\\Product' "\0" 'relatedProducts''' "\0" 'App\\Entity\\Product' "\0" 'relatedTargetProducts''' "\0" 'App\\Entity\\Product' "\0" 'isCustom''' "\0" 'App\\Entity\\Product' "\0" 'hideBaseProduct''' "\0" 'App\\Entity\\Product' "\0" 'productSpreadsheets''translations''newTranslations''currentLocale''defaultLocale'];
  64.     }
  65.     /**
  66.      * 
  67.      */
  68.     public function __wakeup()
  69.     {
  70.         if ( ! $this->__isInitialized__) {
  71.             $this->__initializer__ = function (Product $proxy) {
  72.                 $proxy->__setInitializer(null);
  73.                 $proxy->__setCloner(null);
  74.                 $existingProperties get_object_vars($proxy);
  75.                 foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) {
  76.                     if ( ! array_key_exists($property$existingProperties)) {
  77.                         $proxy->$property $defaultValue;
  78.                     }
  79.                 }
  80.             };
  81.         }
  82.     }
  83.     /**
  84.      * 
  85.      */
  86.     public function __clone()
  87.     {
  88.         $this->__cloner__ && $this->__cloner__->__invoke($this'__clone', []);
  89.     }
  90.     /**
  91.      * Forces initialization of the proxy
  92.      */
  93.     public function __load(): void
  94.     {
  95.         $this->__initializer__ && $this->__initializer__->__invoke($this'__load', []);
  96.     }
  97.     /**
  98.      * {@inheritDoc}
  99.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  100.      */
  101.     public function __isInitialized(): bool
  102.     {
  103.         return $this->__isInitialized__;
  104.     }
  105.     /**
  106.      * {@inheritDoc}
  107.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  108.      */
  109.     public function __setInitialized($initialized): void
  110.     {
  111.         $this->__isInitialized__ $initialized;
  112.     }
  113.     /**
  114.      * {@inheritDoc}
  115.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  116.      */
  117.     public function __setInitializer(\Closure $initializer null): void
  118.     {
  119.         $this->__initializer__ $initializer;
  120.     }
  121.     /**
  122.      * {@inheritDoc}
  123.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  124.      */
  125.     public function __getInitializer(): ?\Closure
  126.     {
  127.         return $this->__initializer__;
  128.     }
  129.     /**
  130.      * {@inheritDoc}
  131.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  132.      */
  133.     public function __setCloner(\Closure $cloner null): void
  134.     {
  135.         $this->__cloner__ $cloner;
  136.     }
  137.     /**
  138.      * {@inheritDoc}
  139.      * @internal generated method: use only when explicitly handling proxy specific cloning logic
  140.      */
  141.     public function __getCloner(): ?\Closure
  142.     {
  143.         return $this->__cloner__;
  144.     }
  145.     /**
  146.      * {@inheritDoc}
  147.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  148.      * @deprecated no longer in use - generated code now relies on internal components rather than generated public API
  149.      * @static
  150.      */
  151.     public function __getLazyProperties(): array
  152.     {
  153.         return self::$lazyPropertiesDefaults;
  154.     }
  155.     
  156.     /**
  157.      * {@inheritDoc}
  158.      */
  159.     public function __call($method$arguments)
  160.     {
  161.         $this->__initializer__ && $this->__initializer__->__invoke($this'__call', [$method$arguments]);
  162.         return parent::__call($method$arguments);
  163.     }
  164.     /**
  165.      * {@inheritDoc}
  166.      */
  167.     public function __toString()
  168.     {
  169.         $this->__initializer__ && $this->__initializer__->__invoke($this'__toString', []);
  170.         return parent::__toString();
  171.     }
  172.     /**
  173.      * {@inheritDoc}
  174.      */
  175.     public function setProductFile(\Symfony\Component\HttpFoundation\File\File $image NULL)
  176.     {
  177.         $this->__initializer__ && $this->__initializer__->__invoke($this'setProductFile', [$image]);
  178.         return parent::setProductFile($image);
  179.     }
  180.     /**
  181.      * {@inheritDoc}
  182.      */
  183.     public function getProductFile()
  184.     {
  185.         $this->__initializer__ && $this->__initializer__->__invoke($this'getProductFile', []);
  186.         return parent::getProductFile();
  187.     }
  188.     /**
  189.      * {@inheritDoc}
  190.      */
  191.     public function getProductFileName(): ?string
  192.     {
  193.         $this->__initializer__ && $this->__initializer__->__invoke($this'getProductFileName', []);
  194.         return parent::getProductFileName();
  195.     }
  196.     /**
  197.      * {@inheritDoc}
  198.      */
  199.     public function setProductFileName(?string $productFileName): \App\Entity\Product
  200.     {
  201.         $this->__initializer__ && $this->__initializer__->__invoke($this'setProductFileName', [$productFileName]);
  202.         return parent::setProductFileName($productFileName);
  203.     }
  204.     /**
  205.      * {@inheritDoc}
  206.      */
  207.     public function getProductFileSize(): ?int
  208.     {
  209.         $this->__initializer__ && $this->__initializer__->__invoke($this'getProductFileSize', []);
  210.         return parent::getProductFileSize();
  211.     }
  212.     /**
  213.      * {@inheritDoc}
  214.      */
  215.     public function setProductFileSize(?int $productFileSize): \App\Entity\Product
  216.     {
  217.         $this->__initializer__ && $this->__initializer__->__invoke($this'setProductFileSize', [$productFileSize]);
  218.         return parent::setProductFileSize($productFileSize);
  219.     }
  220.     /**
  221.      * {@inheritDoc}
  222.      */
  223.     public function getProductFileUpdatedAt(): ?\DateTimeInterface
  224.     {
  225.         $this->__initializer__ && $this->__initializer__->__invoke($this'getProductFileUpdatedAt', []);
  226.         return parent::getProductFileUpdatedAt();
  227.     }
  228.     /**
  229.      * {@inheritDoc}
  230.      */
  231.     public function setProductFileUpdatedAt(?\DateTimeInterface $productFileUpdatedAt): \App\Entity\Product
  232.     {
  233.         $this->__initializer__ && $this->__initializer__->__invoke($this'setProductFileUpdatedAt', [$productFileUpdatedAt]);
  234.         return parent::setProductFileUpdatedAt($productFileUpdatedAt);
  235.     }
  236.     /**
  237.      * {@inheritDoc}
  238.      */
  239.     public function getId(): ?int
  240.     {
  241.         if ($this->__isInitialized__ === false) {
  242.             return (int)  parent::getId();
  243.         }
  244.         $this->__initializer__ && $this->__initializer__->__invoke($this'getId', []);
  245.         return parent::getId();
  246.     }
  247.     /**
  248.      * {@inheritDoc}
  249.      */
  250.     public function getPosition(): ?int
  251.     {
  252.         $this->__initializer__ && $this->__initializer__->__invoke($this'getPosition', []);
  253.         return parent::getPosition();
  254.     }
  255.     /**
  256.      * {@inheritDoc}
  257.      */
  258.     public function setPosition(?int $position): \App\Entity\Product
  259.     {
  260.         $this->__initializer__ && $this->__initializer__->__invoke($this'setPosition', [$position]);
  261.         return parent::setPosition($position);
  262.     }
  263.     /**
  264.      * {@inheritDoc}
  265.      */
  266.     public function getCategory(): ?\App\Entity\Category
  267.     {
  268.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategory', []);
  269.         return parent::getCategory();
  270.     }
  271.     /**
  272.      * {@inheritDoc}
  273.      */
  274.     public function setCategory(?\App\Entity\Category $category): \App\Entity\Product
  275.     {
  276.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCategory', [$category]);
  277.         return parent::setCategory($category);
  278.     }
  279.     /**
  280.      * {@inheritDoc}
  281.      */
  282.     public function getSubCategory(): ?\App\Entity\SubCategory
  283.     {
  284.         $this->__initializer__ && $this->__initializer__->__invoke($this'getSubCategory', []);
  285.         return parent::getSubCategory();
  286.     }
  287.     /**
  288.      * {@inheritDoc}
  289.      */
  290.     public function setSubCategory(?\App\Entity\SubCategory $subCategory): \App\Entity\Product
  291.     {
  292.         $this->__initializer__ && $this->__initializer__->__invoke($this'setSubCategory', [$subCategory]);
  293.         return parent::setSubCategory($subCategory);
  294.     }
  295.     /**
  296.      * {@inheritDoc}
  297.      */
  298.     public function getSubSubCategory(): ?\App\Entity\SubSubCategory
  299.     {
  300.         $this->__initializer__ && $this->__initializer__->__invoke($this'getSubSubCategory', []);
  301.         return parent::getSubSubCategory();
  302.     }
  303.     /**
  304.      * {@inheritDoc}
  305.      */
  306.     public function setSubSubCategory(?\App\Entity\SubSubCategory $subSubCategory): \App\Entity\Product
  307.     {
  308.         $this->__initializer__ && $this->__initializer__->__invoke($this'setSubSubCategory', [$subSubCategory]);
  309.         return parent::setSubSubCategory($subSubCategory);
  310.     }
  311.     /**
  312.      * {@inheritDoc}
  313.      */
  314.     public function getSubSubSubCategory(): ?\App\Entity\SubSubSubCategory
  315.     {
  316.         $this->__initializer__ && $this->__initializer__->__invoke($this'getSubSubSubCategory', []);
  317.         return parent::getSubSubSubCategory();
  318.     }
  319.     /**
  320.      * {@inheritDoc}
  321.      */
  322.     public function setSubSubSubCategory(?\App\Entity\SubSubSubCategory $subSubSubCategory): \App\Entity\Product
  323.     {
  324.         $this->__initializer__ && $this->__initializer__->__invoke($this'setSubSubSubCategory', [$subSubSubCategory]);
  325.         return parent::setSubSubSubCategory($subSubSubCategory);
  326.     }
  327.     /**
  328.      * {@inheritDoc}
  329.      */
  330.     public function getDisplayOnLanding(): ?bool
  331.     {
  332.         $this->__initializer__ && $this->__initializer__->__invoke($this'getDisplayOnLanding', []);
  333.         return parent::getDisplayOnLanding();
  334.     }
  335.     /**
  336.      * {@inheritDoc}
  337.      */
  338.     public function setDisplayOnLanding(bool $displayOnLanding): \App\Entity\Product
  339.     {
  340.         $this->__initializer__ && $this->__initializer__->__invoke($this'setDisplayOnLanding', [$displayOnLanding]);
  341.         return parent::setDisplayOnLanding($displayOnLanding);
  342.     }
  343.     /**
  344.      * {@inheritDoc}
  345.      */
  346.     public function getApplicationProducts(): \Doctrine\Common\Collections\Collection
  347.     {
  348.         $this->__initializer__ && $this->__initializer__->__invoke($this'getApplicationProducts', []);
  349.         return parent::getApplicationProducts();
  350.     }
  351.     /**
  352.      * {@inheritDoc}
  353.      */
  354.     public function addApplicationProduct(\App\Entity\ApplicationProduct $applicationProduct): \App\Entity\Product
  355.     {
  356.         $this->__initializer__ && $this->__initializer__->__invoke($this'addApplicationProduct', [$applicationProduct]);
  357.         return parent::addApplicationProduct($applicationProduct);
  358.     }
  359.     /**
  360.      * {@inheritDoc}
  361.      */
  362.     public function removeApplicationProduct(\App\Entity\ApplicationProduct $applicationProduct): \App\Entity\Product
  363.     {
  364.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeApplicationProduct', [$applicationProduct]);
  365.         return parent::removeApplicationProduct($applicationProduct);
  366.     }
  367.     /**
  368.      * {@inheritDoc}
  369.      */
  370.     public function getProductMedia(): \Doctrine\Common\Collections\Collection
  371.     {
  372.         $this->__initializer__ && $this->__initializer__->__invoke($this'getProductMedia', []);
  373.         return parent::getProductMedia();
  374.     }
  375.     /**
  376.      * {@inheritDoc}
  377.      */
  378.     public function addProductMedium(\App\Entity\ProductMedia $productMedium): \App\Entity\Product
  379.     {
  380.         $this->__initializer__ && $this->__initializer__->__invoke($this'addProductMedium', [$productMedium]);
  381.         return parent::addProductMedium($productMedium);
  382.     }
  383.     /**
  384.      * {@inheritDoc}
  385.      */
  386.     public function removeProductMedium(\App\Entity\ProductMedia $productMedium): \App\Entity\Product
  387.     {
  388.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeProductMedium', [$productMedium]);
  389.         return parent::removeProductMedium($productMedium);
  390.     }
  391.     /**
  392.      * {@inheritDoc}
  393.      */
  394.     public function getProductDocuments(): \Doctrine\Common\Collections\Collection
  395.     {
  396.         $this->__initializer__ && $this->__initializer__->__invoke($this'getProductDocuments', []);
  397.         return parent::getProductDocuments();
  398.     }
  399.     /**
  400.      * {@inheritDoc}
  401.      */
  402.     public function addProductDocument(\App\Entity\ProductDocument $productDocument): \App\Entity\Product
  403.     {
  404.         $this->__initializer__ && $this->__initializer__->__invoke($this'addProductDocument', [$productDocument]);
  405.         return parent::addProductDocument($productDocument);
  406.     }
  407.     /**
  408.      * {@inheritDoc}
  409.      */
  410.     public function removeProductDocument(\App\Entity\ProductDocument $productDocument): \App\Entity\Product
  411.     {
  412.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeProductDocument', [$productDocument]);
  413.         return parent::removeProductDocument($productDocument);
  414.     }
  415.     /**
  416.      * {@inheritDoc}
  417.      */
  418.     public function getProductProductTables(): \Doctrine\Common\Collections\Collection
  419.     {
  420.         $this->__initializer__ && $this->__initializer__->__invoke($this'getProductProductTables', []);
  421.         return parent::getProductProductTables();
  422.     }
  423.     /**
  424.      * {@inheritDoc}
  425.      */
  426.     public function addProductProductTable(\App\Entity\ProductProductTable $productProductTable): \App\Entity\Product
  427.     {
  428.         $this->__initializer__ && $this->__initializer__->__invoke($this'addProductProductTable', [$productProductTable]);
  429.         return parent::addProductProductTable($productProductTable);
  430.     }
  431.     /**
  432.      * {@inheritDoc}
  433.      */
  434.     public function removeProductProductTable(\App\Entity\ProductProductTable $productProductTable): \App\Entity\Product
  435.     {
  436.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeProductProductTable', [$productProductTable]);
  437.         return parent::removeProductProductTable($productProductTable);
  438.     }
  439.     /**
  440.      * {@inheritDoc}
  441.      */
  442.     public function getRelatedProducts(): \Doctrine\Common\Collections\Collection
  443.     {
  444.         $this->__initializer__ && $this->__initializer__->__invoke($this'getRelatedProducts', []);
  445.         return parent::getRelatedProducts();
  446.     }
  447.     /**
  448.      * {@inheritDoc}
  449.      */
  450.     public function addRelatedProduct(\App\Entity\RelatedProduct $relatedProduct): \App\Entity\Product
  451.     {
  452.         $this->__initializer__ && $this->__initializer__->__invoke($this'addRelatedProduct', [$relatedProduct]);
  453.         return parent::addRelatedProduct($relatedProduct);
  454.     }
  455.     /**
  456.      * {@inheritDoc}
  457.      */
  458.     public function removeRelatedProduct(\App\Entity\RelatedProduct $relatedProduct): \App\Entity\Product
  459.     {
  460.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeRelatedProduct', [$relatedProduct]);
  461.         return parent::removeRelatedProduct($relatedProduct);
  462.     }
  463.     /**
  464.      * {@inheritDoc}
  465.      */
  466.     public function getRelatedTargetProducts(): \Doctrine\Common\Collections\Collection
  467.     {
  468.         $this->__initializer__ && $this->__initializer__->__invoke($this'getRelatedTargetProducts', []);
  469.         return parent::getRelatedTargetProducts();
  470.     }
  471.     /**
  472.      * {@inheritDoc}
  473.      */
  474.     public function addRelatedTargetProduct(\App\Entity\RelatedProduct $relatedTargetProduct): \App\Entity\Product
  475.     {
  476.         $this->__initializer__ && $this->__initializer__->__invoke($this'addRelatedTargetProduct', [$relatedTargetProduct]);
  477.         return parent::addRelatedTargetProduct($relatedTargetProduct);
  478.     }
  479.     /**
  480.      * {@inheritDoc}
  481.      */
  482.     public function removeRelatedTargetProduct(\App\Entity\RelatedProduct $relatedTargetProduct): \App\Entity\Product
  483.     {
  484.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeRelatedTargetProduct', [$relatedTargetProduct]);
  485.         return parent::removeRelatedTargetProduct($relatedTargetProduct);
  486.     }
  487.     /**
  488.      * {@inheritDoc}
  489.      */
  490.     public function getIsCustom(): ?bool
  491.     {
  492.         $this->__initializer__ && $this->__initializer__->__invoke($this'getIsCustom', []);
  493.         return parent::getIsCustom();
  494.     }
  495.     /**
  496.      * {@inheritDoc}
  497.      */
  498.     public function setIsCustom(bool $isCustom): \App\Entity\Product
  499.     {
  500.         $this->__initializer__ && $this->__initializer__->__invoke($this'setIsCustom', [$isCustom]);
  501.         return parent::setIsCustom($isCustom);
  502.     }
  503.     /**
  504.      * {@inheritDoc}
  505.      */
  506.     public function getHideBaseProduct(): ?bool
  507.     {
  508.         $this->__initializer__ && $this->__initializer__->__invoke($this'getHideBaseProduct', []);
  509.         return parent::getHideBaseProduct();
  510.     }
  511.     /**
  512.      * {@inheritDoc}
  513.      */
  514.     public function setHideBaseProduct(bool $hideBaseProduct): \App\Entity\Product
  515.     {
  516.         $this->__initializer__ && $this->__initializer__->__invoke($this'setHideBaseProduct', [$hideBaseProduct]);
  517.         return parent::setHideBaseProduct($hideBaseProduct);
  518.     }
  519.     /**
  520.      * {@inheritDoc}
  521.      */
  522.     public function getSearchableTitle()
  523.     {
  524.         $this->__initializer__ && $this->__initializer__->__invoke($this'getSearchableTitle', []);
  525.         return parent::getSearchableTitle();
  526.     }
  527.     /**
  528.      * {@inheritDoc}
  529.      */
  530.     public function getProductSpreadsheets(): \Doctrine\Common\Collections\Collection
  531.     {
  532.         $this->__initializer__ && $this->__initializer__->__invoke($this'getProductSpreadsheets', []);
  533.         return parent::getProductSpreadsheets();
  534.     }
  535.     /**
  536.      * {@inheritDoc}
  537.      */
  538.     public function addProductSpreadsheet(\App\Entity\ProductSpreadsheet $productSpreadsheet): \App\Entity\Product
  539.     {
  540.         $this->__initializer__ && $this->__initializer__->__invoke($this'addProductSpreadsheet', [$productSpreadsheet]);
  541.         return parent::addProductSpreadsheet($productSpreadsheet);
  542.     }
  543.     /**
  544.      * {@inheritDoc}
  545.      */
  546.     public function removeProductSpreadsheet(\App\Entity\ProductSpreadsheet $productSpreadsheet): \App\Entity\Product
  547.     {
  548.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeProductSpreadsheet', [$productSpreadsheet]);
  549.         return parent::removeProductSpreadsheet($productSpreadsheet);
  550.     }
  551.     /**
  552.      * {@inheritDoc}
  553.      */
  554.     public function setProductSchemaFile(\Symfony\Component\HttpFoundation\File\File $image NULL)
  555.     {
  556.         $this->__initializer__ && $this->__initializer__->__invoke($this'setProductSchemaFile', [$image]);
  557.         return parent::setProductSchemaFile($image);
  558.     }
  559.     /**
  560.      * {@inheritDoc}
  561.      */
  562.     public function getProductSchemaFile()
  563.     {
  564.         $this->__initializer__ && $this->__initializer__->__invoke($this'getProductSchemaFile', []);
  565.         return parent::getProductSchemaFile();
  566.     }
  567.     /**
  568.      * {@inheritDoc}
  569.      */
  570.     public function getProductSchemaFileName(): ?string
  571.     {
  572.         $this->__initializer__ && $this->__initializer__->__invoke($this'getProductSchemaFileName', []);
  573.         return parent::getProductSchemaFileName();
  574.     }
  575.     /**
  576.      * {@inheritDoc}
  577.      */
  578.     public function setProductSchemaFileName(?string $productSchemaFileName): \App\Entity\Product
  579.     {
  580.         $this->__initializer__ && $this->__initializer__->__invoke($this'setProductSchemaFileName', [$productSchemaFileName]);
  581.         return parent::setProductSchemaFileName($productSchemaFileName);
  582.     }
  583.     /**
  584.      * {@inheritDoc}
  585.      */
  586.     public function getProductSchemaFileSize(): ?int
  587.     {
  588.         $this->__initializer__ && $this->__initializer__->__invoke($this'getProductSchemaFileSize', []);
  589.         return parent::getProductSchemaFileSize();
  590.     }
  591.     /**
  592.      * {@inheritDoc}
  593.      */
  594.     public function setProductSchemaFileSize(?int $productSchemaFileSize): \App\Entity\Product
  595.     {
  596.         $this->__initializer__ && $this->__initializer__->__invoke($this'setProductSchemaFileSize', [$productSchemaFileSize]);
  597.         return parent::setProductSchemaFileSize($productSchemaFileSize);
  598.     }
  599.     /**
  600.      * {@inheritDoc}
  601.      */
  602.     public function getProductSchemaFileUpdatedAt(): ?\DateTimeInterface
  603.     {
  604.         $this->__initializer__ && $this->__initializer__->__invoke($this'getProductSchemaFileUpdatedAt', []);
  605.         return parent::getProductSchemaFileUpdatedAt();
  606.     }
  607.     /**
  608.      * {@inheritDoc}
  609.      */
  610.     public function setProductSchemaFileUpdatedAt(?\DateTimeInterface $productSchemaFileUpdatedAt): \App\Entity\Product
  611.     {
  612.         $this->__initializer__ && $this->__initializer__->__invoke($this'setProductSchemaFileUpdatedAt', [$productSchemaFileUpdatedAt]);
  613.         return parent::setProductSchemaFileUpdatedAt($productSchemaFileUpdatedAt);
  614.     }
  615.     /**
  616.      * {@inheritDoc}
  617.      */
  618.     public function getDescriptionSpreadsheet(): ?string
  619.     {
  620.         $this->__initializer__ && $this->__initializer__->__invoke($this'getDescriptionSpreadsheet', []);
  621.         return parent::getDescriptionSpreadsheet();
  622.     }
  623.     /**
  624.      * {@inheritDoc}
  625.      */
  626.     public function setDescriptionSpreadsheet(?string $descriptionSpreadsheet): \App\Entity\Product
  627.     {
  628.         $this->__initializer__ && $this->__initializer__->__invoke($this'setDescriptionSpreadsheet', [$descriptionSpreadsheet]);
  629.         return parent::setDescriptionSpreadsheet($descriptionSpreadsheet);
  630.     }
  631.     /**
  632.      * {@inheritDoc}
  633.      */
  634.     public function getTranslations()
  635.     {
  636.         $this->__initializer__ && $this->__initializer__->__invoke($this'getTranslations', []);
  637.         return parent::getTranslations();
  638.     }
  639.     /**
  640.      * {@inheritDoc}
  641.      */
  642.     public function setTranslations(iterable $translations): void
  643.     {
  644.         $this->__initializer__ && $this->__initializer__->__invoke($this'setTranslations', [$translations]);
  645.         parent::setTranslations($translations);
  646.     }
  647.     /**
  648.      * {@inheritDoc}
  649.      */
  650.     public function getNewTranslations()
  651.     {
  652.         $this->__initializer__ && $this->__initializer__->__invoke($this'getNewTranslations', []);
  653.         return parent::getNewTranslations();
  654.     }
  655.     /**
  656.      * {@inheritDoc}
  657.      */
  658.     public function addTranslation(\Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface $translation): void
  659.     {
  660.         $this->__initializer__ && $this->__initializer__->__invoke($this'addTranslation', [$translation]);
  661.         parent::addTranslation($translation);
  662.     }
  663.     /**
  664.      * {@inheritDoc}
  665.      */
  666.     public function removeTranslation(\Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface $translation): void
  667.     {
  668.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeTranslation', [$translation]);
  669.         parent::removeTranslation($translation);
  670.     }
  671.     /**
  672.      * {@inheritDoc}
  673.      */
  674.     public function translate(string $locale NULLbool $fallbackToDefault true): \Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface
  675.     {
  676.         $this->__initializer__ && $this->__initializer__->__invoke($this'translate', [$locale$fallbackToDefault]);
  677.         return parent::translate($locale$fallbackToDefault);
  678.     }
  679.     /**
  680.      * {@inheritDoc}
  681.      */
  682.     public function mergeNewTranslations(): void
  683.     {
  684.         $this->__initializer__ && $this->__initializer__->__invoke($this'mergeNewTranslations', []);
  685.         parent::mergeNewTranslations();
  686.     }
  687.     /**
  688.      * {@inheritDoc}
  689.      */
  690.     public function setCurrentLocale(string $locale): void
  691.     {
  692.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCurrentLocale', [$locale]);
  693.         parent::setCurrentLocale($locale);
  694.     }
  695.     /**
  696.      * {@inheritDoc}
  697.      */
  698.     public function getCurrentLocale(): string
  699.     {
  700.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCurrentLocale', []);
  701.         return parent::getCurrentLocale();
  702.     }
  703.     /**
  704.      * {@inheritDoc}
  705.      */
  706.     public function setDefaultLocale($locale): void
  707.     {
  708.         $this->__initializer__ && $this->__initializer__->__invoke($this'setDefaultLocale', [$locale]);
  709.         parent::setDefaultLocale($locale);
  710.     }
  711.     /**
  712.      * {@inheritDoc}
  713.      */
  714.     public function getDefaultLocale(): string
  715.     {
  716.         $this->__initializer__ && $this->__initializer__->__invoke($this'getDefaultLocale', []);
  717.         return parent::getDefaultLocale();
  718.     }
  719. }