var/cache/dev/doctrine/orm/Proxies/__CG__AppEntityApplication.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 Application extends \App\Entity\Application 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\\Application' "\0" 'id''' "\0" 'App\\Entity\\Application' "\0" 'titreH1''' "\0" 'App\\Entity\\Application' "\0" 'position''' "\0" 'App\\Entity\\Application' "\0" 'displayOnLanding''' "\0" 'App\\Entity\\Application' "\0" 'applicationFile''' "\0" 'App\\Entity\\Application' "\0" 'applicationFileName''' "\0" 'App\\Entity\\Application' "\0" 'applicationFileSize''' "\0" 'App\\Entity\\Application' "\0" 'applicationFileUpdatedAt''' "\0" 'App\\Entity\\Application' "\0" 'applicationParagraphs''' "\0" 'App\\Entity\\Application' "\0" 'applicationProducts''translations''newTranslations''currentLocale''defaultLocale'];
  62.         }
  63.         return ['__isInitialized__''' "\0" 'App\\Entity\\Application' "\0" 'id''' "\0" 'App\\Entity\\Application' "\0" 'titreH1''' "\0" 'App\\Entity\\Application' "\0" 'position''' "\0" 'App\\Entity\\Application' "\0" 'displayOnLanding''' "\0" 'App\\Entity\\Application' "\0" 'applicationFile''' "\0" 'App\\Entity\\Application' "\0" 'applicationFileName''' "\0" 'App\\Entity\\Application' "\0" 'applicationFileSize''' "\0" 'App\\Entity\\Application' "\0" 'applicationFileUpdatedAt''' "\0" 'App\\Entity\\Application' "\0" 'applicationParagraphs''' "\0" 'App\\Entity\\Application' "\0" 'applicationProducts''translations''newTranslations''currentLocale''defaultLocale'];
  64.     }
  65.     /**
  66.      * 
  67.      */
  68.     public function __wakeup()
  69.     {
  70.         if ( ! $this->__isInitialized__) {
  71.             $this->__initializer__ = function (Application $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 setApplicationFile(\Symfony\Component\HttpFoundation\File\File $image NULL)
  176.     {
  177.         $this->__initializer__ && $this->__initializer__->__invoke($this'setApplicationFile', [$image]);
  178.         return parent::setApplicationFile($image);
  179.     }
  180.     /**
  181.      * {@inheritDoc}
  182.      */
  183.     public function getApplicationFile()
  184.     {
  185.         $this->__initializer__ && $this->__initializer__->__invoke($this'getApplicationFile', []);
  186.         return parent::getApplicationFile();
  187.     }
  188.     /**
  189.      * {@inheritDoc}
  190.      */
  191.     public function getApplicationFileName(): ?string
  192.     {
  193.         $this->__initializer__ && $this->__initializer__->__invoke($this'getApplicationFileName', []);
  194.         return parent::getApplicationFileName();
  195.     }
  196.     /**
  197.      * {@inheritDoc}
  198.      */
  199.     public function setApplicationFileName(?string $applicationFileName): \App\Entity\Application
  200.     {
  201.         $this->__initializer__ && $this->__initializer__->__invoke($this'setApplicationFileName', [$applicationFileName]);
  202.         return parent::setApplicationFileName($applicationFileName);
  203.     }
  204.     /**
  205.      * {@inheritDoc}
  206.      */
  207.     public function getApplicationFileSize(): ?int
  208.     {
  209.         $this->__initializer__ && $this->__initializer__->__invoke($this'getApplicationFileSize', []);
  210.         return parent::getApplicationFileSize();
  211.     }
  212.     /**
  213.      * {@inheritDoc}
  214.      */
  215.     public function setApplicationFileSize(?int $applicationFileSize): \App\Entity\Application
  216.     {
  217.         $this->__initializer__ && $this->__initializer__->__invoke($this'setApplicationFileSize', [$applicationFileSize]);
  218.         return parent::setApplicationFileSize($applicationFileSize);
  219.     }
  220.     /**
  221.      * {@inheritDoc}
  222.      */
  223.     public function getApplicationFileUpdatedAt(): ?\DateTimeInterface
  224.     {
  225.         $this->__initializer__ && $this->__initializer__->__invoke($this'getApplicationFileUpdatedAt', []);
  226.         return parent::getApplicationFileUpdatedAt();
  227.     }
  228.     /**
  229.      * {@inheritDoc}
  230.      */
  231.     public function setApplicationFileUpdatedAt(?\DateTimeInterface $applicationFileUpdatedAt): \App\Entity\Application
  232.     {
  233.         $this->__initializer__ && $this->__initializer__->__invoke($this'setApplicationFileUpdatedAt', [$applicationFileUpdatedAt]);
  234.         return parent::setApplicationFileUpdatedAt($applicationFileUpdatedAt);
  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\Application
  259.     {
  260.         $this->__initializer__ && $this->__initializer__->__invoke($this'setPosition', [$position]);
  261.         return parent::setPosition($position);
  262.     }
  263.     /**
  264.      * {@inheritDoc}
  265.      */
  266.     public function getDisplayOnLanding(): ?bool
  267.     {
  268.         $this->__initializer__ && $this->__initializer__->__invoke($this'getDisplayOnLanding', []);
  269.         return parent::getDisplayOnLanding();
  270.     }
  271.     /**
  272.      * {@inheritDoc}
  273.      */
  274.     public function setDisplayOnLanding(bool $displayOnLanding): \App\Entity\Application
  275.     {
  276.         $this->__initializer__ && $this->__initializer__->__invoke($this'setDisplayOnLanding', [$displayOnLanding]);
  277.         return parent::setDisplayOnLanding($displayOnLanding);
  278.     }
  279.     /**
  280.      * {@inheritDoc}
  281.      */
  282.     public function getApplicationParagraphs(): \Doctrine\Common\Collections\Collection
  283.     {
  284.         $this->__initializer__ && $this->__initializer__->__invoke($this'getApplicationParagraphs', []);
  285.         return parent::getApplicationParagraphs();
  286.     }
  287.     /**
  288.      * {@inheritDoc}
  289.      */
  290.     public function addApplicationParagraph(\App\Entity\ApplicationParagraph $applicationParagraph): \App\Entity\Application
  291.     {
  292.         $this->__initializer__ && $this->__initializer__->__invoke($this'addApplicationParagraph', [$applicationParagraph]);
  293.         return parent::addApplicationParagraph($applicationParagraph);
  294.     }
  295.     /**
  296.      * {@inheritDoc}
  297.      */
  298.     public function removeApplicationParagraph(\App\Entity\ApplicationParagraph $applicationParagraph): \App\Entity\Application
  299.     {
  300.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeApplicationParagraph', [$applicationParagraph]);
  301.         return parent::removeApplicationParagraph($applicationParagraph);
  302.     }
  303.     /**
  304.      * {@inheritDoc}
  305.      */
  306.     public function getApplicationProducts(): \Doctrine\Common\Collections\Collection
  307.     {
  308.         $this->__initializer__ && $this->__initializer__->__invoke($this'getApplicationProducts', []);
  309.         return parent::getApplicationProducts();
  310.     }
  311.     /**
  312.      * {@inheritDoc}
  313.      */
  314.     public function addApplicationProduct(\App\Entity\ApplicationProduct $applicationProduct): \App\Entity\Application
  315.     {
  316.         $this->__initializer__ && $this->__initializer__->__invoke($this'addApplicationProduct', [$applicationProduct]);
  317.         return parent::addApplicationProduct($applicationProduct);
  318.     }
  319.     /**
  320.      * {@inheritDoc}
  321.      */
  322.     public function removeApplicationProduct(\App\Entity\ApplicationProduct $applicationProduct): \App\Entity\Application
  323.     {
  324.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeApplicationProduct', [$applicationProduct]);
  325.         return parent::removeApplicationProduct($applicationProduct);
  326.     }
  327.     /**
  328.      * {@inheritDoc}
  329.      */
  330.     public function getTitreH1(): ?string
  331.     {
  332.         $this->__initializer__ && $this->__initializer__->__invoke($this'getTitreH1', []);
  333.         return parent::getTitreH1();
  334.     }
  335.     /**
  336.      * {@inheritDoc}
  337.      */
  338.     public function setTitreH1(string $titreH1): \App\Entity\Application
  339.     {
  340.         $this->__initializer__ && $this->__initializer__->__invoke($this'setTitreH1', [$titreH1]);
  341.         return parent::setTitreH1($titreH1);
  342.     }
  343.     /**
  344.      * {@inheritDoc}
  345.      */
  346.     public function getTranslations()
  347.     {
  348.         $this->__initializer__ && $this->__initializer__->__invoke($this'getTranslations', []);
  349.         return parent::getTranslations();
  350.     }
  351.     /**
  352.      * {@inheritDoc}
  353.      */
  354.     public function setTranslations(iterable $translations): void
  355.     {
  356.         $this->__initializer__ && $this->__initializer__->__invoke($this'setTranslations', [$translations]);
  357.         parent::setTranslations($translations);
  358.     }
  359.     /**
  360.      * {@inheritDoc}
  361.      */
  362.     public function getNewTranslations()
  363.     {
  364.         $this->__initializer__ && $this->__initializer__->__invoke($this'getNewTranslations', []);
  365.         return parent::getNewTranslations();
  366.     }
  367.     /**
  368.      * {@inheritDoc}
  369.      */
  370.     public function addTranslation(\Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface $translation): void
  371.     {
  372.         $this->__initializer__ && $this->__initializer__->__invoke($this'addTranslation', [$translation]);
  373.         parent::addTranslation($translation);
  374.     }
  375.     /**
  376.      * {@inheritDoc}
  377.      */
  378.     public function removeTranslation(\Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface $translation): void
  379.     {
  380.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeTranslation', [$translation]);
  381.         parent::removeTranslation($translation);
  382.     }
  383.     /**
  384.      * {@inheritDoc}
  385.      */
  386.     public function translate(string $locale NULLbool $fallbackToDefault true): \Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface
  387.     {
  388.         $this->__initializer__ && $this->__initializer__->__invoke($this'translate', [$locale$fallbackToDefault]);
  389.         return parent::translate($locale$fallbackToDefault);
  390.     }
  391.     /**
  392.      * {@inheritDoc}
  393.      */
  394.     public function mergeNewTranslations(): void
  395.     {
  396.         $this->__initializer__ && $this->__initializer__->__invoke($this'mergeNewTranslations', []);
  397.         parent::mergeNewTranslations();
  398.     }
  399.     /**
  400.      * {@inheritDoc}
  401.      */
  402.     public function setCurrentLocale(string $locale): void
  403.     {
  404.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCurrentLocale', [$locale]);
  405.         parent::setCurrentLocale($locale);
  406.     }
  407.     /**
  408.      * {@inheritDoc}
  409.      */
  410.     public function getCurrentLocale(): string
  411.     {
  412.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCurrentLocale', []);
  413.         return parent::getCurrentLocale();
  414.     }
  415.     /**
  416.      * {@inheritDoc}
  417.      */
  418.     public function setDefaultLocale($locale): void
  419.     {
  420.         $this->__initializer__ && $this->__initializer__->__invoke($this'setDefaultLocale', [$locale]);
  421.         parent::setDefaultLocale($locale);
  422.     }
  423.     /**
  424.      * {@inheritDoc}
  425.      */
  426.     public function getDefaultLocale(): string
  427.     {
  428.         $this->__initializer__ && $this->__initializer__->__invoke($this'getDefaultLocale', []);
  429.         return parent::getDefaultLocale();
  430.     }
  431. }