var/cache/dev/doctrine/orm/Proxies/__CG__AppEntityCategory.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 Category extends \App\Entity\Category 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\\Category' "\0" 'id''' "\0" 'App\\Entity\\Category' "\0" 'position''' "\0" 'App\\Entity\\Category' "\0" 'categoryFile''' "\0" 'App\\Entity\\Category' "\0" 'categoryFileName''' "\0" 'App\\Entity\\Category' "\0" 'categoryFileSize''' "\0" 'App\\Entity\\Category' "\0" 'categoryFileUpdatedAt''' "\0" 'App\\Entity\\Category' "\0" 'products''' "\0" 'App\\Entity\\Category' "\0" 'subCategories''' "\0" 'App\\Entity\\Category' "\0" 'category1File''' "\0" 'App\\Entity\\Category' "\0" 'category1FileName''' "\0" 'App\\Entity\\Category' "\0" 'category1FileSize''' "\0" 'App\\Entity\\Category' "\0" 'category1FileUpdatedAt''' "\0" 'App\\Entity\\Category' "\0" 'categoryIconFile''' "\0" 'App\\Entity\\Category' "\0" 'categoryIconFileName''' "\0" 'App\\Entity\\Category' "\0" 'categoryIconFileSize''' "\0" 'App\\Entity\\Category' "\0" 'categoryIconFileUpdatedAt''' "\0" 'App\\Entity\\Category' "\0" 'publications''' "\0" 'App\\Entity\\Category' "\0" 'categoryPhaseEvolutions''' "\0" 'App\\Entity\\Category' "\0" 'categoryIcon1File''' "\0" 'App\\Entity\\Category' "\0" 'categoryIcon1FileName''' "\0" 'App\\Entity\\Category' "\0" 'categoryIcon1FileSize''' "\0" 'App\\Entity\\Category' "\0" 'categoryIcon1FileUpdatedAt''translations''newTranslations''currentLocale''defaultLocale''' "\0" 'App\\Entity\\Category' "\0" 'updatedAt''' "\0" 'App\\Entity\\Category' "\0" 'createdAt''' "\0" 'App\\Entity\\Category' "\0" 'updator''' "\0" 'App\\Entity\\Category' "\0" 'creator'];
  62.         }
  63.         return ['__isInitialized__''' "\0" 'App\\Entity\\Category' "\0" 'id''' "\0" 'App\\Entity\\Category' "\0" 'position''' "\0" 'App\\Entity\\Category' "\0" 'categoryFile''' "\0" 'App\\Entity\\Category' "\0" 'categoryFileName''' "\0" 'App\\Entity\\Category' "\0" 'categoryFileSize''' "\0" 'App\\Entity\\Category' "\0" 'categoryFileUpdatedAt''' "\0" 'App\\Entity\\Category' "\0" 'products''' "\0" 'App\\Entity\\Category' "\0" 'subCategories''' "\0" 'App\\Entity\\Category' "\0" 'category1File''' "\0" 'App\\Entity\\Category' "\0" 'category1FileName''' "\0" 'App\\Entity\\Category' "\0" 'category1FileSize''' "\0" 'App\\Entity\\Category' "\0" 'category1FileUpdatedAt''' "\0" 'App\\Entity\\Category' "\0" 'categoryIconFile''' "\0" 'App\\Entity\\Category' "\0" 'categoryIconFileName''' "\0" 'App\\Entity\\Category' "\0" 'categoryIconFileSize''' "\0" 'App\\Entity\\Category' "\0" 'categoryIconFileUpdatedAt''' "\0" 'App\\Entity\\Category' "\0" 'publications''' "\0" 'App\\Entity\\Category' "\0" 'categoryPhaseEvolutions''' "\0" 'App\\Entity\\Category' "\0" 'categoryIcon1File''' "\0" 'App\\Entity\\Category' "\0" 'categoryIcon1FileName''' "\0" 'App\\Entity\\Category' "\0" 'categoryIcon1FileSize''' "\0" 'App\\Entity\\Category' "\0" 'categoryIcon1FileUpdatedAt''translations''newTranslations''currentLocale''defaultLocale''' "\0" 'App\\Entity\\Category' "\0" 'updatedAt''' "\0" 'App\\Entity\\Category' "\0" 'createdAt''' "\0" 'App\\Entity\\Category' "\0" 'updator''' "\0" 'App\\Entity\\Category' "\0" 'creator'];
  64.     }
  65.     /**
  66.      * 
  67.      */
  68.     public function __wakeup()
  69.     {
  70.         if ( ! $this->__isInitialized__) {
  71.             $this->__initializer__ = function (Category $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 setCategoryIcon1File(\Symfony\Component\HttpFoundation\File\File $image NULL)
  176.     {
  177.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCategoryIcon1File', [$image]);
  178.         return parent::setCategoryIcon1File($image);
  179.     }
  180.     /**
  181.      * {@inheritDoc}
  182.      */
  183.     public function getCategoryIcon1File()
  184.     {
  185.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategoryIcon1File', []);
  186.         return parent::getCategoryIcon1File();
  187.     }
  188.     /**
  189.      * {@inheritDoc}
  190.      */
  191.     public function getCategoryIcon1FileName(): ?string
  192.     {
  193.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategoryIcon1FileName', []);
  194.         return parent::getCategoryIcon1FileName();
  195.     }
  196.     /**
  197.      * {@inheritDoc}
  198.      */
  199.     public function setCategoryIcon1FileName(?string $categoryIcon1FileName): \App\Entity\Category
  200.     {
  201.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCategoryIcon1FileName', [$categoryIcon1FileName]);
  202.         return parent::setCategoryIcon1FileName($categoryIcon1FileName);
  203.     }
  204.     /**
  205.      * {@inheritDoc}
  206.      */
  207.     public function getCategoryIcon1FileSize(): ?int
  208.     {
  209.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategoryIcon1FileSize', []);
  210.         return parent::getCategoryIcon1FileSize();
  211.     }
  212.     /**
  213.      * {@inheritDoc}
  214.      */
  215.     public function setCategoryIcon1FileSize(?int $categoryIcon1FileSize): \App\Entity\Category
  216.     {
  217.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCategoryIcon1FileSize', [$categoryIcon1FileSize]);
  218.         return parent::setCategoryIcon1FileSize($categoryIcon1FileSize);
  219.     }
  220.     /**
  221.      * {@inheritDoc}
  222.      */
  223.     public function getCategoryIcon1FileUpdatedAt(): ?\DateTimeInterface
  224.     {
  225.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategoryIcon1FileUpdatedAt', []);
  226.         return parent::getCategoryIcon1FileUpdatedAt();
  227.     }
  228.     /**
  229.      * {@inheritDoc}
  230.      */
  231.     public function setCategoryIcon1FileUpdatedAt(?\DateTimeInterface $categoryIcon1FileUpdatedAt): \App\Entity\Category
  232.     {
  233.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCategoryIcon1FileUpdatedAt', [$categoryIcon1FileUpdatedAt]);
  234.         return parent::setCategoryIcon1FileUpdatedAt($categoryIcon1FileUpdatedAt);
  235.     }
  236.     /**
  237.      * {@inheritDoc}
  238.      */
  239.     public function setCategoryIconFile(\Symfony\Component\HttpFoundation\File\File $image NULL)
  240.     {
  241.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCategoryIconFile', [$image]);
  242.         return parent::setCategoryIconFile($image);
  243.     }
  244.     /**
  245.      * {@inheritDoc}
  246.      */
  247.     public function getCategoryIconFile()
  248.     {
  249.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategoryIconFile', []);
  250.         return parent::getCategoryIconFile();
  251.     }
  252.     /**
  253.      * {@inheritDoc}
  254.      */
  255.     public function getCategoryIconFileName(): ?string
  256.     {
  257.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategoryIconFileName', []);
  258.         return parent::getCategoryIconFileName();
  259.     }
  260.     /**
  261.      * {@inheritDoc}
  262.      */
  263.     public function setCategoryIconFileName(?string $categoryIconFileName): \App\Entity\Category
  264.     {
  265.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCategoryIconFileName', [$categoryIconFileName]);
  266.         return parent::setCategoryIconFileName($categoryIconFileName);
  267.     }
  268.     /**
  269.      * {@inheritDoc}
  270.      */
  271.     public function getCategoryIconFileSize(): ?int
  272.     {
  273.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategoryIconFileSize', []);
  274.         return parent::getCategoryIconFileSize();
  275.     }
  276.     /**
  277.      * {@inheritDoc}
  278.      */
  279.     public function setCategoryIconFileSize(?int $categoryIconFileSize): \App\Entity\Category
  280.     {
  281.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCategoryIconFileSize', [$categoryIconFileSize]);
  282.         return parent::setCategoryIconFileSize($categoryIconFileSize);
  283.     }
  284.     /**
  285.      * {@inheritDoc}
  286.      */
  287.     public function getCategoryIconFileUpdatedAt(): ?\DateTimeInterface
  288.     {
  289.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategoryIconFileUpdatedAt', []);
  290.         return parent::getCategoryIconFileUpdatedAt();
  291.     }
  292.     /**
  293.      * {@inheritDoc}
  294.      */
  295.     public function setCategoryIconFileUpdatedAt(?\DateTimeInterface $categoryIconFileUpdatedAt): \App\Entity\Category
  296.     {
  297.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCategoryIconFileUpdatedAt', [$categoryIconFileUpdatedAt]);
  298.         return parent::setCategoryIconFileUpdatedAt($categoryIconFileUpdatedAt);
  299.     }
  300.     /**
  301.      * {@inheritDoc}
  302.      */
  303.     public function setCategory1File(\Symfony\Component\HttpFoundation\File\File $image NULL)
  304.     {
  305.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCategory1File', [$image]);
  306.         return parent::setCategory1File($image);
  307.     }
  308.     /**
  309.      * {@inheritDoc}
  310.      */
  311.     public function getCategory1File()
  312.     {
  313.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategory1File', []);
  314.         return parent::getCategory1File();
  315.     }
  316.     /**
  317.      * {@inheritDoc}
  318.      */
  319.     public function getCategory1FileName(): ?string
  320.     {
  321.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategory1FileName', []);
  322.         return parent::getCategory1FileName();
  323.     }
  324.     /**
  325.      * {@inheritDoc}
  326.      */
  327.     public function setCategory1FileName(?string $category1FileName): \App\Entity\Category
  328.     {
  329.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCategory1FileName', [$category1FileName]);
  330.         return parent::setCategory1FileName($category1FileName);
  331.     }
  332.     /**
  333.      * {@inheritDoc}
  334.      */
  335.     public function getCategory1FileSize(): ?int
  336.     {
  337.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategory1FileSize', []);
  338.         return parent::getCategory1FileSize();
  339.     }
  340.     /**
  341.      * {@inheritDoc}
  342.      */
  343.     public function setCategory1FileSize(?int $category1FileSize): \App\Entity\Category
  344.     {
  345.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCategory1FileSize', [$category1FileSize]);
  346.         return parent::setCategory1FileSize($category1FileSize);
  347.     }
  348.     /**
  349.      * {@inheritDoc}
  350.      */
  351.     public function getCategory1FileUpdatedAt(): ?\DateTimeInterface
  352.     {
  353.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategory1FileUpdatedAt', []);
  354.         return parent::getCategory1FileUpdatedAt();
  355.     }
  356.     /**
  357.      * {@inheritDoc}
  358.      */
  359.     public function setCategory1FileUpdatedAt(?\DateTimeInterface $category1FileUpdatedAt): \App\Entity\Category
  360.     {
  361.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCategory1FileUpdatedAt', [$category1FileUpdatedAt]);
  362.         return parent::setCategory1FileUpdatedAt($category1FileUpdatedAt);
  363.     }
  364.     /**
  365.      * {@inheritDoc}
  366.      */
  367.     public function setCategoryFile(\Symfony\Component\HttpFoundation\File\File $image NULL)
  368.     {
  369.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCategoryFile', [$image]);
  370.         return parent::setCategoryFile($image);
  371.     }
  372.     /**
  373.      * {@inheritDoc}
  374.      */
  375.     public function getCategoryFile()
  376.     {
  377.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategoryFile', []);
  378.         return parent::getCategoryFile();
  379.     }
  380.     /**
  381.      * {@inheritDoc}
  382.      */
  383.     public function getCategoryFileName(): ?string
  384.     {
  385.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategoryFileName', []);
  386.         return parent::getCategoryFileName();
  387.     }
  388.     /**
  389.      * {@inheritDoc}
  390.      */
  391.     public function setCategoryFileName(?string $categoryFileName): \App\Entity\Category
  392.     {
  393.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCategoryFileName', [$categoryFileName]);
  394.         return parent::setCategoryFileName($categoryFileName);
  395.     }
  396.     /**
  397.      * {@inheritDoc}
  398.      */
  399.     public function getCategoryFileSize(): ?int
  400.     {
  401.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategoryFileSize', []);
  402.         return parent::getCategoryFileSize();
  403.     }
  404.     /**
  405.      * {@inheritDoc}
  406.      */
  407.     public function setCategoryFileSize(?int $categoryFileSize): \App\Entity\Category
  408.     {
  409.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCategoryFileSize', [$categoryFileSize]);
  410.         return parent::setCategoryFileSize($categoryFileSize);
  411.     }
  412.     /**
  413.      * {@inheritDoc}
  414.      */
  415.     public function getCategoryFileUpdatedAt(): ?\DateTimeInterface
  416.     {
  417.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategoryFileUpdatedAt', []);
  418.         return parent::getCategoryFileUpdatedAt();
  419.     }
  420.     /**
  421.      * {@inheritDoc}
  422.      */
  423.     public function setCategoryFileUpdatedAt(?\DateTimeInterface $categoryFileUpdatedAt): \App\Entity\Category
  424.     {
  425.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCategoryFileUpdatedAt', [$categoryFileUpdatedAt]);
  426.         return parent::setCategoryFileUpdatedAt($categoryFileUpdatedAt);
  427.     }
  428.     /**
  429.      * {@inheritDoc}
  430.      */
  431.     public function getId(): ?int
  432.     {
  433.         if ($this->__isInitialized__ === false) {
  434.             return (int)  parent::getId();
  435.         }
  436.         $this->__initializer__ && $this->__initializer__->__invoke($this'getId', []);
  437.         return parent::getId();
  438.     }
  439.     /**
  440.      * {@inheritDoc}
  441.      */
  442.     public function getPosition(): ?int
  443.     {
  444.         $this->__initializer__ && $this->__initializer__->__invoke($this'getPosition', []);
  445.         return parent::getPosition();
  446.     }
  447.     /**
  448.      * {@inheritDoc}
  449.      */
  450.     public function setPosition(?int $position): \App\Entity\Category
  451.     {
  452.         $this->__initializer__ && $this->__initializer__->__invoke($this'setPosition', [$position]);
  453.         return parent::setPosition($position);
  454.     }
  455.     /**
  456.      * {@inheritDoc}
  457.      */
  458.     public function getProducts(): \Doctrine\Common\Collections\Collection
  459.     {
  460.         $this->__initializer__ && $this->__initializer__->__invoke($this'getProducts', []);
  461.         return parent::getProducts();
  462.     }
  463.     /**
  464.      * {@inheritDoc}
  465.      */
  466.     public function addProduct(\App\Entity\Product $product): \App\Entity\Category
  467.     {
  468.         $this->__initializer__ && $this->__initializer__->__invoke($this'addProduct', [$product]);
  469.         return parent::addProduct($product);
  470.     }
  471.     /**
  472.      * {@inheritDoc}
  473.      */
  474.     public function removeProduct(\App\Entity\Product $product): \App\Entity\Category
  475.     {
  476.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeProduct', [$product]);
  477.         return parent::removeProduct($product);
  478.     }
  479.     /**
  480.      * {@inheritDoc}
  481.      */
  482.     public function getSubCategories(): \Doctrine\Common\Collections\Collection
  483.     {
  484.         $this->__initializer__ && $this->__initializer__->__invoke($this'getSubCategories', []);
  485.         return parent::getSubCategories();
  486.     }
  487.     /**
  488.      * {@inheritDoc}
  489.      */
  490.     public function addSubCategory(\App\Entity\SubCategory $subCategory): \App\Entity\Category
  491.     {
  492.         $this->__initializer__ && $this->__initializer__->__invoke($this'addSubCategory', [$subCategory]);
  493.         return parent::addSubCategory($subCategory);
  494.     }
  495.     /**
  496.      * {@inheritDoc}
  497.      */
  498.     public function removeSubCategory(\App\Entity\SubCategory $subCategory): \App\Entity\Category
  499.     {
  500.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeSubCategory', [$subCategory]);
  501.         return parent::removeSubCategory($subCategory);
  502.     }
  503.     /**
  504.      * {@inheritDoc}
  505.      */
  506.     public function getPublications(): \Doctrine\Common\Collections\Collection
  507.     {
  508.         $this->__initializer__ && $this->__initializer__->__invoke($this'getPublications', []);
  509.         return parent::getPublications();
  510.     }
  511.     /**
  512.      * {@inheritDoc}
  513.      */
  514.     public function addPublication(\App\Entity\Publication $publication): \App\Entity\Category
  515.     {
  516.         $this->__initializer__ && $this->__initializer__->__invoke($this'addPublication', [$publication]);
  517.         return parent::addPublication($publication);
  518.     }
  519.     /**
  520.      * {@inheritDoc}
  521.      */
  522.     public function removePublication(\App\Entity\Publication $publication): \App\Entity\Category
  523.     {
  524.         $this->__initializer__ && $this->__initializer__->__invoke($this'removePublication', [$publication]);
  525.         return parent::removePublication($publication);
  526.     }
  527.     /**
  528.      * {@inheritDoc}
  529.      */
  530.     public function getCategoryPhaseEvolutions(): \Doctrine\Common\Collections\Collection
  531.     {
  532.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategoryPhaseEvolutions', []);
  533.         return parent::getCategoryPhaseEvolutions();
  534.     }
  535.     /**
  536.      * {@inheritDoc}
  537.      */
  538.     public function addCategoryPhaseEvolution(\App\Entity\CategoryPhaseEvolution $categoryPhaseEvolution): \App\Entity\Category
  539.     {
  540.         $this->__initializer__ && $this->__initializer__->__invoke($this'addCategoryPhaseEvolution', [$categoryPhaseEvolution]);
  541.         return parent::addCategoryPhaseEvolution($categoryPhaseEvolution);
  542.     }
  543.     /**
  544.      * {@inheritDoc}
  545.      */
  546.     public function removeCategoryPhaseEvolution(\App\Entity\CategoryPhaseEvolution $categoryPhaseEvolution): \App\Entity\Category
  547.     {
  548.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeCategoryPhaseEvolution', [$categoryPhaseEvolution]);
  549.         return parent::removeCategoryPhaseEvolution($categoryPhaseEvolution);
  550.     }
  551.     /**
  552.      * {@inheritDoc}
  553.      */
  554.     public function getTranslations()
  555.     {
  556.         $this->__initializer__ && $this->__initializer__->__invoke($this'getTranslations', []);
  557.         return parent::getTranslations();
  558.     }
  559.     /**
  560.      * {@inheritDoc}
  561.      */
  562.     public function setTranslations(iterable $translations): void
  563.     {
  564.         $this->__initializer__ && $this->__initializer__->__invoke($this'setTranslations', [$translations]);
  565.         parent::setTranslations($translations);
  566.     }
  567.     /**
  568.      * {@inheritDoc}
  569.      */
  570.     public function getNewTranslations()
  571.     {
  572.         $this->__initializer__ && $this->__initializer__->__invoke($this'getNewTranslations', []);
  573.         return parent::getNewTranslations();
  574.     }
  575.     /**
  576.      * {@inheritDoc}
  577.      */
  578.     public function addTranslation(\Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface $translation): void
  579.     {
  580.         $this->__initializer__ && $this->__initializer__->__invoke($this'addTranslation', [$translation]);
  581.         parent::addTranslation($translation);
  582.     }
  583.     /**
  584.      * {@inheritDoc}
  585.      */
  586.     public function removeTranslation(\Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface $translation): void
  587.     {
  588.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeTranslation', [$translation]);
  589.         parent::removeTranslation($translation);
  590.     }
  591.     /**
  592.      * {@inheritDoc}
  593.      */
  594.     public function translate(string $locale NULLbool $fallbackToDefault true): \Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface
  595.     {
  596.         $this->__initializer__ && $this->__initializer__->__invoke($this'translate', [$locale$fallbackToDefault]);
  597.         return parent::translate($locale$fallbackToDefault);
  598.     }
  599.     /**
  600.      * {@inheritDoc}
  601.      */
  602.     public function mergeNewTranslations(): void
  603.     {
  604.         $this->__initializer__ && $this->__initializer__->__invoke($this'mergeNewTranslations', []);
  605.         parent::mergeNewTranslations();
  606.     }
  607.     /**
  608.      * {@inheritDoc}
  609.      */
  610.     public function setCurrentLocale(string $locale): void
  611.     {
  612.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCurrentLocale', [$locale]);
  613.         parent::setCurrentLocale($locale);
  614.     }
  615.     /**
  616.      * {@inheritDoc}
  617.      */
  618.     public function getCurrentLocale(): string
  619.     {
  620.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCurrentLocale', []);
  621.         return parent::getCurrentLocale();
  622.     }
  623.     /**
  624.      * {@inheritDoc}
  625.      */
  626.     public function setDefaultLocale($locale): void
  627.     {
  628.         $this->__initializer__ && $this->__initializer__->__invoke($this'setDefaultLocale', [$locale]);
  629.         parent::setDefaultLocale($locale);
  630.     }
  631.     /**
  632.      * {@inheritDoc}
  633.      */
  634.     public function getDefaultLocale(): string
  635.     {
  636.         $this->__initializer__ && $this->__initializer__->__invoke($this'getDefaultLocale', []);
  637.         return parent::getDefaultLocale();
  638.     }
  639.     /**
  640.      * {@inheritDoc}
  641.      */
  642.     public function getUpdatedAt(): ?\DateTime
  643.     {
  644.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUpdatedAt', []);
  645.         return parent::getUpdatedAt();
  646.     }
  647.     /**
  648.      * {@inheritDoc}
  649.      */
  650.     public function setUpdatedAt(\DateTime $updatedAt)
  651.     {
  652.         $this->__initializer__ && $this->__initializer__->__invoke($this'setUpdatedAt', [$updatedAt]);
  653.         return parent::setUpdatedAt($updatedAt);
  654.     }
  655.     /**
  656.      * {@inheritDoc}
  657.      */
  658.     public function getCreatedAt(): ?\DateTime
  659.     {
  660.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCreatedAt', []);
  661.         return parent::getCreatedAt();
  662.     }
  663.     /**
  664.      * {@inheritDoc}
  665.      */
  666.     public function setCreatedAt(\DateTime $createdAt)
  667.     {
  668.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCreatedAt', [$createdAt]);
  669.         return parent::setCreatedAt($createdAt);
  670.     }
  671.     /**
  672.      * {@inheritDoc}
  673.      */
  674.     public function getUpdator(): ?\App\Entity\User
  675.     {
  676.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUpdator', []);
  677.         return parent::getUpdator();
  678.     }
  679.     /**
  680.      * {@inheritDoc}
  681.      */
  682.     public function setUpdator(\App\Entity\User $updator)
  683.     {
  684.         $this->__initializer__ && $this->__initializer__->__invoke($this'setUpdator', [$updator]);
  685.         return parent::setUpdator($updator);
  686.     }
  687.     /**
  688.      * {@inheritDoc}
  689.      */
  690.     public function getCreator(): ?\App\Entity\User
  691.     {
  692.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCreator', []);
  693.         return parent::getCreator();
  694.     }
  695.     /**
  696.      * {@inheritDoc}
  697.      */
  698.     public function setCreator(\App\Entity\User $creator)
  699.     {
  700.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCreator', [$creator]);
  701.         return parent::setCreator($creator);
  702.     }
  703. }