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

Open in your IDE?
  1. <?php
  2. namespace Proxies\__CG__\App\Entity\Survey;
  3. /**
  4.  * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
  5.  */
  6. class Survey extends \App\Entity\Survey\Survey 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.   'surveyQuestion' => NULL,
  33.   'surveyResult' => NULL,
  34.   'surveyNotification' => NULL,
  35. );
  36.     /**
  37.      * @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
  38.      *
  39.      * @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
  40.      */
  41.     public static $lazyPropertiesDefaults = array (
  42.   'surveyQuestion' => NULL,
  43.   'surveyResult' => NULL,
  44.   'surveyNotification' => NULL,
  45. );
  46.     public function __construct(?\Closure $initializer null, ?\Closure $cloner null)
  47.     {
  48.         unset($this->surveyQuestion$this->surveyResult$this->surveyNotification);
  49.         $this->__initializer__ $initializer;
  50.         $this->__cloner__      $cloner;
  51.     }
  52.     /**
  53.      * 
  54.      * @param string $name
  55.      */
  56.     public function __get($name)
  57.     {
  58.         if (\array_key_exists($nameself::$lazyPropertiesNames)) {
  59.             $this->__initializer__ && $this->__initializer__->__invoke($this'__get', [$name]);
  60.             return $this->$name;
  61.         }
  62.         trigger_error(sprintf('Undefined property: %s::$%s'__CLASS__$name), E_USER_NOTICE);
  63.     }
  64.     /**
  65.      * 
  66.      * @param string $name
  67.      * @param mixed  $value
  68.      */
  69.     public function __set($name$value)
  70.     {
  71.         if (\array_key_exists($nameself::$lazyPropertiesNames)) {
  72.             $this->__initializer__ && $this->__initializer__->__invoke($this'__set', [$name$value]);
  73.             $this->$name $value;
  74.             return;
  75.         }
  76.         $this->$name $value;
  77.     }
  78.     /**
  79.      * 
  80.      * @param  string $name
  81.      * @return boolean
  82.      */
  83.     public function __isset($name)
  84.     {
  85.         if (\array_key_exists($nameself::$lazyPropertiesNames)) {
  86.             $this->__initializer__ && $this->__initializer__->__invoke($this'__isset', [$name]);
  87.             return isset($this->$name);
  88.         }
  89.         return false;
  90.     }
  91.     /**
  92.      * 
  93.      * @return array
  94.      */
  95.     public function __sleep()
  96.     {
  97.         if ($this->__isInitialized__) {
  98.             return ['__isInitialized__''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'uri''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'title''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'description''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'status''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'type''validStart''validEnd''surveyQuestion''surveyResult''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'author''surveyNotification''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'refresh''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'resultMyself''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'notificationAfterEach''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'notificationAppointedTime''notificationDate''systemDate''resultFilterStartInNotification''resultFilterEndInNotification''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'timer''timerTime''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'id''createdAt''updatedAt'];
  99.         }
  100.         return ['__isInitialized__''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'uri''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'title''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'description''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'status''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'type''validStart''validEnd''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'author''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'refresh''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'resultMyself''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'notificationAfterEach''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'notificationAppointedTime''notificationDate''systemDate''resultFilterStartInNotification''resultFilterEndInNotification''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'timer''timerTime''' "\0" 'App\\Entity\\Survey\\Survey' "\0" 'id''createdAt''updatedAt'];
  101.     }
  102.     /**
  103.      * 
  104.      */
  105.     public function __wakeup()
  106.     {
  107.         if ( ! $this->__isInitialized__) {
  108.             $this->__initializer__ = function (Survey $proxy) {
  109.                 $proxy->__setInitializer(null);
  110.                 $proxy->__setCloner(null);
  111.                 $existingProperties get_object_vars($proxy);
  112.                 foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) {
  113.                     if ( ! array_key_exists($property$existingProperties)) {
  114.                         $proxy->$property $defaultValue;
  115.                     }
  116.                 }
  117.             };
  118.             unset($this->surveyQuestion$this->surveyResult$this->surveyNotification);
  119.         }
  120.     }
  121.     /**
  122.      * 
  123.      */
  124.     public function __clone()
  125.     {
  126.         $this->__cloner__ && $this->__cloner__->__invoke($this'__clone', []);
  127.     }
  128.     /**
  129.      * Forces initialization of the proxy
  130.      */
  131.     public function __load(): void
  132.     {
  133.         $this->__initializer__ && $this->__initializer__->__invoke($this'__load', []);
  134.     }
  135.     /**
  136.      * {@inheritDoc}
  137.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  138.      */
  139.     public function __isInitialized(): bool
  140.     {
  141.         return $this->__isInitialized__;
  142.     }
  143.     /**
  144.      * {@inheritDoc}
  145.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  146.      */
  147.     public function __setInitialized($initialized): void
  148.     {
  149.         $this->__isInitialized__ $initialized;
  150.     }
  151.     /**
  152.      * {@inheritDoc}
  153.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  154.      */
  155.     public function __setInitializer(?\Closure $initializer null): void
  156.     {
  157.         $this->__initializer__ $initializer;
  158.     }
  159.     /**
  160.      * {@inheritDoc}
  161.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  162.      */
  163.     public function __getInitializer(): ?\Closure
  164.     {
  165.         return $this->__initializer__;
  166.     }
  167.     /**
  168.      * {@inheritDoc}
  169.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  170.      */
  171.     public function __setCloner(?\Closure $cloner null): void
  172.     {
  173.         $this->__cloner__ $cloner;
  174.     }
  175.     /**
  176.      * {@inheritDoc}
  177.      * @internal generated method: use only when explicitly handling proxy specific cloning logic
  178.      */
  179.     public function __getCloner(): ?\Closure
  180.     {
  181.         return $this->__cloner__;
  182.     }
  183.     /**
  184.      * {@inheritDoc}
  185.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  186.      * @deprecated no longer in use - generated code now relies on internal components rather than generated public API
  187.      * @static
  188.      */
  189.     public function __getLazyProperties(): array
  190.     {
  191.         return self::$lazyPropertiesDefaults;
  192.     }
  193.     
  194.     /**
  195.      * {@inheritDoc}
  196.      */
  197.     public function getUri(): string
  198.     {
  199.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUri', []);
  200.         return parent::getUri();
  201.     }
  202.     /**
  203.      * {@inheritDoc}
  204.      */
  205.     public function setUri(?string $uri): void
  206.     {
  207.         $this->__initializer__ && $this->__initializer__->__invoke($this'setUri', [$uri]);
  208.         parent::setUri($uri);
  209.     }
  210.     /**
  211.      * {@inheritDoc}
  212.      */
  213.     public function getTitle(): string
  214.     {
  215.         $this->__initializer__ && $this->__initializer__->__invoke($this'getTitle', []);
  216.         return parent::getTitle();
  217.     }
  218.     /**
  219.      * {@inheritDoc}
  220.      */
  221.     public function setTitle(string $title): void
  222.     {
  223.         $this->__initializer__ && $this->__initializer__->__invoke($this'setTitle', [$title]);
  224.         parent::setTitle($title);
  225.     }
  226.     /**
  227.      * {@inheritDoc}
  228.      */
  229.     public function getDescription(): ?string
  230.     {
  231.         $this->__initializer__ && $this->__initializer__->__invoke($this'getDescription', []);
  232.         return parent::getDescription();
  233.     }
  234.     /**
  235.      * {@inheritDoc}
  236.      */
  237.     public function setDescription(?string $description): void
  238.     {
  239.         $this->__initializer__ && $this->__initializer__->__invoke($this'setDescription', [$description]);
  240.         parent::setDescription($description);
  241.     }
  242.     /**
  243.      * {@inheritDoc}
  244.      */
  245.     public function getStatus(): int
  246.     {
  247.         $this->__initializer__ && $this->__initializer__->__invoke($this'getStatus', []);
  248.         return parent::getStatus();
  249.     }
  250.     /**
  251.      * {@inheritDoc}
  252.      */
  253.     public function setStatus(int $status): void
  254.     {
  255.         $this->__initializer__ && $this->__initializer__->__invoke($this'setStatus', [$status]);
  256.         parent::setStatus($status);
  257.     }
  258.     /**
  259.      * {@inheritDoc}
  260.      */
  261.     public function getValidStart(): ?\DateTime
  262.     {
  263.         $this->__initializer__ && $this->__initializer__->__invoke($this'getValidStart', []);
  264.         return parent::getValidStart();
  265.     }
  266.     /**
  267.      * {@inheritDoc}
  268.      */
  269.     public function setValidStart(?\DateTime $validStart): void
  270.     {
  271.         $this->__initializer__ && $this->__initializer__->__invoke($this'setValidStart', [$validStart]);
  272.         parent::setValidStart($validStart);
  273.     }
  274.     /**
  275.      * {@inheritDoc}
  276.      */
  277.     public function getValidEnd(): ?\DateTime
  278.     {
  279.         $this->__initializer__ && $this->__initializer__->__invoke($this'getValidEnd', []);
  280.         return parent::getValidEnd();
  281.     }
  282.     /**
  283.      * {@inheritDoc}
  284.      */
  285.     public function setValidEnd(?\DateTime $validEnd): void
  286.     {
  287.         $this->__initializer__ && $this->__initializer__->__invoke($this'setValidEnd', [$validEnd]);
  288.         parent::setValidEnd($validEnd);
  289.     }
  290.     /**
  291.      * {@inheritDoc}
  292.      */
  293.     public function getSurveyQuestion(): \Doctrine\Common\Collections\Collection
  294.     {
  295.         $this->__initializer__ && $this->__initializer__->__invoke($this'getSurveyQuestion', []);
  296.         return parent::getSurveyQuestion();
  297.     }
  298.     /**
  299.      * {@inheritDoc}
  300.      */
  301.     public function addSurveyQuestion(\App\Entity\Survey\SurveyQuestion $surveyQuestion): void
  302.     {
  303.         $this->__initializer__ && $this->__initializer__->__invoke($this'addSurveyQuestion', [$surveyQuestion]);
  304.         parent::addSurveyQuestion($surveyQuestion);
  305.     }
  306.     /**
  307.      * {@inheritDoc}
  308.      */
  309.     public function removeSurveyQuestion(\App\Entity\Survey\SurveyQuestion $surveyQuestion): void
  310.     {
  311.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeSurveyQuestion', [$surveyQuestion]);
  312.         parent::removeSurveyQuestion($surveyQuestion);
  313.     }
  314.     /**
  315.      * {@inheritDoc}
  316.      */
  317.     public function getSurveyResult(): \Doctrine\Common\Collections\Collection
  318.     {
  319.         $this->__initializer__ && $this->__initializer__->__invoke($this'getSurveyResult', []);
  320.         return parent::getSurveyResult();
  321.     }
  322.     /**
  323.      * {@inheritDoc}
  324.      */
  325.     public function getAuthor(): ?\App\Entity\User\User
  326.     {
  327.         $this->__initializer__ && $this->__initializer__->__invoke($this'getAuthor', []);
  328.         return parent::getAuthor();
  329.     }
  330.     /**
  331.      * {@inheritDoc}
  332.      */
  333.     public function setAuthor(\App\Entity\User\User $author): void
  334.     {
  335.         $this->__initializer__ && $this->__initializer__->__invoke($this'setAuthor', [$author]);
  336.         parent::setAuthor($author);
  337.     }
  338.     /**
  339.      * {@inheritDoc}
  340.      */
  341.     public function getSurveyNotification(): \Doctrine\Common\Collections\Collection
  342.     {
  343.         $this->__initializer__ && $this->__initializer__->__invoke($this'getSurveyNotification', []);
  344.         return parent::getSurveyNotification();
  345.     }
  346.     /**
  347.      * {@inheritDoc}
  348.      */
  349.     public function addSurveyNotification(\App\Entity\Survey\SurveyNotification $surveyNotification): void
  350.     {
  351.         $this->__initializer__ && $this->__initializer__->__invoke($this'addSurveyNotification', [$surveyNotification]);
  352.         parent::addSurveyNotification($surveyNotification);
  353.     }
  354.     /**
  355.      * {@inheritDoc}
  356.      */
  357.     public function removeSurveyNotification(\App\Entity\Survey\SurveyNotification $surveyNotification): void
  358.     {
  359.         $this->__initializer__ && $this->__initializer__->__invoke($this'removeSurveyNotification', [$surveyNotification]);
  360.         parent::removeSurveyNotification($surveyNotification);
  361.     }
  362.     /**
  363.      * {@inheritDoc}
  364.      */
  365.     public function getType(): int
  366.     {
  367.         $this->__initializer__ && $this->__initializer__->__invoke($this'getType', []);
  368.         return parent::getType();
  369.     }
  370.     /**
  371.      * {@inheritDoc}
  372.      */
  373.     public function setType(int $type): void
  374.     {
  375.         $this->__initializer__ && $this->__initializer__->__invoke($this'setType', [$type]);
  376.         parent::setType($type);
  377.     }
  378.     /**
  379.      * {@inheritDoc}
  380.      */
  381.     public function getRefresh(): int
  382.     {
  383.         $this->__initializer__ && $this->__initializer__->__invoke($this'getRefresh', []);
  384.         return parent::getRefresh();
  385.     }
  386.     /**
  387.      * {@inheritDoc}
  388.      */
  389.     public function setRefresh(int $refresh): void
  390.     {
  391.         $this->__initializer__ && $this->__initializer__->__invoke($this'setRefresh', [$refresh]);
  392.         parent::setRefresh($refresh);
  393.     }
  394.     /**
  395.      * {@inheritDoc}
  396.      */
  397.     public function getResultMyself(): bool
  398.     {
  399.         $this->__initializer__ && $this->__initializer__->__invoke($this'getResultMyself', []);
  400.         return parent::getResultMyself();
  401.     }
  402.     /**
  403.      * {@inheritDoc}
  404.      */
  405.     public function setResultMyself(bool $resultMyself): void
  406.     {
  407.         $this->__initializer__ && $this->__initializer__->__invoke($this'setResultMyself', [$resultMyself]);
  408.         parent::setResultMyself($resultMyself);
  409.     }
  410.     /**
  411.      * {@inheritDoc}
  412.      */
  413.     public function getNotificationAfterEach(): bool
  414.     {
  415.         $this->__initializer__ && $this->__initializer__->__invoke($this'getNotificationAfterEach', []);
  416.         return parent::getNotificationAfterEach();
  417.     }
  418.     /**
  419.      * {@inheritDoc}
  420.      */
  421.     public function setNotificationAfterEach(bool $notificationAfterEach): void
  422.     {
  423.         $this->__initializer__ && $this->__initializer__->__invoke($this'setNotificationAfterEach', [$notificationAfterEach]);
  424.         parent::setNotificationAfterEach($notificationAfterEach);
  425.     }
  426.     /**
  427.      * {@inheritDoc}
  428.      */
  429.     public function getNotificationAppointedTime(): bool
  430.     {
  431.         $this->__initializer__ && $this->__initializer__->__invoke($this'getNotificationAppointedTime', []);
  432.         return parent::getNotificationAppointedTime();
  433.     }
  434.     /**
  435.      * {@inheritDoc}
  436.      */
  437.     public function setNotificationAppointedTime(bool $notificationAppointedTime): void
  438.     {
  439.         $this->__initializer__ && $this->__initializer__->__invoke($this'setNotificationAppointedTime', [$notificationAppointedTime]);
  440.         parent::setNotificationAppointedTime($notificationAppointedTime);
  441.     }
  442.     /**
  443.      * {@inheritDoc}
  444.      */
  445.     public function getNotificationDate(): ?\DateTime
  446.     {
  447.         $this->__initializer__ && $this->__initializer__->__invoke($this'getNotificationDate', []);
  448.         return parent::getNotificationDate();
  449.     }
  450.     /**
  451.      * {@inheritDoc}
  452.      */
  453.     public function setNotificationDate(?\DateTime $notificationDate): void
  454.     {
  455.         $this->__initializer__ && $this->__initializer__->__invoke($this'setNotificationDate', [$notificationDate]);
  456.         parent::setNotificationDate($notificationDate);
  457.     }
  458.     /**
  459.      * {@inheritDoc}
  460.      */
  461.     public function getSystemDate(): ?\DateTime
  462.     {
  463.         $this->__initializer__ && $this->__initializer__->__invoke($this'getSystemDate', []);
  464.         return parent::getSystemDate();
  465.     }
  466.     /**
  467.      * {@inheritDoc}
  468.      */
  469.     public function setSystemDate(?\DateTime $systemDate): void
  470.     {
  471.         $this->__initializer__ && $this->__initializer__->__invoke($this'setSystemDate', [$systemDate]);
  472.         parent::setSystemDate($systemDate);
  473.     }
  474.     /**
  475.      * {@inheritDoc}
  476.      */
  477.     public function getResultFilterStartInNotification(): ?\DateTime
  478.     {
  479.         $this->__initializer__ && $this->__initializer__->__invoke($this'getResultFilterStartInNotification', []);
  480.         return parent::getResultFilterStartInNotification();
  481.     }
  482.     /**
  483.      * {@inheritDoc}
  484.      */
  485.     public function setResultFilterStartInNotification(?\DateTime $resultFilterStartInNotification): void
  486.     {
  487.         $this->__initializer__ && $this->__initializer__->__invoke($this'setResultFilterStartInNotification', [$resultFilterStartInNotification]);
  488.         parent::setResultFilterStartInNotification($resultFilterStartInNotification);
  489.     }
  490.     /**
  491.      * {@inheritDoc}
  492.      */
  493.     public function getResultFilterEndInNotification(): ?\DateTime
  494.     {
  495.         $this->__initializer__ && $this->__initializer__->__invoke($this'getResultFilterEndInNotification', []);
  496.         return parent::getResultFilterEndInNotification();
  497.     }
  498.     /**
  499.      * {@inheritDoc}
  500.      */
  501.     public function setResultFilterEndInNotification(?\DateTime $resultFilterEndInNotification): void
  502.     {
  503.         $this->__initializer__ && $this->__initializer__->__invoke($this'setResultFilterEndInNotification', [$resultFilterEndInNotification]);
  504.         parent::setResultFilterEndInNotification($resultFilterEndInNotification);
  505.     }
  506.     /**
  507.      * {@inheritDoc}
  508.      */
  509.     public function getTimer(): bool
  510.     {
  511.         $this->__initializer__ && $this->__initializer__->__invoke($this'getTimer', []);
  512.         return parent::getTimer();
  513.     }
  514.     /**
  515.      * {@inheritDoc}
  516.      */
  517.     public function setTimer(bool $timer): void
  518.     {
  519.         $this->__initializer__ && $this->__initializer__->__invoke($this'setTimer', [$timer]);
  520.         parent::setTimer($timer);
  521.     }
  522.     /**
  523.      * {@inheritDoc}
  524.      */
  525.     public function getTimerTime(): ?int
  526.     {
  527.         $this->__initializer__ && $this->__initializer__->__invoke($this'getTimerTime', []);
  528.         return parent::getTimerTime();
  529.     }
  530.     /**
  531.      * {@inheritDoc}
  532.      */
  533.     public function setTimerTime(?int $timerTime): void
  534.     {
  535.         $this->__initializer__ && $this->__initializer__->__invoke($this'setTimerTime', [$timerTime]);
  536.         parent::setTimerTime($timerTime);
  537.     }
  538.     /**
  539.      * {@inheritDoc}
  540.      */
  541.     public function getId(): ?int
  542.     {
  543.         if ($this->__isInitialized__ === false) {
  544.             return (int)  parent::getId();
  545.         }
  546.         $this->__initializer__ && $this->__initializer__->__invoke($this'getId', []);
  547.         return parent::getId();
  548.     }
  549.     /**
  550.      * {@inheritDoc}
  551.      */
  552.     public function setCreatedAt(\DateTime $createdAt)
  553.     {
  554.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCreatedAt', [$createdAt]);
  555.         return parent::setCreatedAt($createdAt);
  556.     }
  557.     /**
  558.      * {@inheritDoc}
  559.      */
  560.     public function getCreatedAt()
  561.     {
  562.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCreatedAt', []);
  563.         return parent::getCreatedAt();
  564.     }
  565.     /**
  566.      * {@inheritDoc}
  567.      */
  568.     public function setUpdatedAt(\DateTime $updatedAt)
  569.     {
  570.         $this->__initializer__ && $this->__initializer__->__invoke($this'setUpdatedAt', [$updatedAt]);
  571.         return parent::setUpdatedAt($updatedAt);
  572.     }
  573.     /**
  574.      * {@inheritDoc}
  575.      */
  576.     public function getUpdatedAt()
  577.     {
  578.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUpdatedAt', []);
  579.         return parent::getUpdatedAt();
  580.     }
  581. }