<?php
namespace Proxies\__CG__\App\Entity\Survey;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Survey extends \App\Entity\Survey\Survey implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
'surveyQuestion' => NULL,
'surveyResult' => NULL,
'surveyNotification' => NULL,
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
'surveyQuestion' => NULL,
'surveyResult' => NULL,
'surveyNotification' => NULL,
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
unset($this->surveyQuestion, $this->surveyResult, $this->surveyNotification);
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @param string $name
*/
public function __get($name)
{
if (\array_key_exists($name, self::$lazyPropertiesNames)) {
$this->__initializer__ && $this->__initializer__->__invoke($this, '__get', [$name]);
return $this->$name;
}
trigger_error(sprintf('Undefined property: %s::$%s', __CLASS__, $name), E_USER_NOTICE);
}
/**
*
* @param string $name
* @param mixed $value
*/
public function __set($name, $value)
{
if (\array_key_exists($name, self::$lazyPropertiesNames)) {
$this->__initializer__ && $this->__initializer__->__invoke($this, '__set', [$name, $value]);
$this->$name = $value;
return;
}
$this->$name = $value;
}
/**
*
* @param string $name
* @return boolean
*/
public function __isset($name)
{
if (\array_key_exists($name, self::$lazyPropertiesNames)) {
$this->__initializer__ && $this->__initializer__->__invoke($this, '__isset', [$name]);
return isset($this->$name);
}
return false;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
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'];
}
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'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Survey $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
unset($this->surveyQuestion, $this->surveyResult, $this->surveyNotification);
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getUri(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUri', []);
return parent::getUri();
}
/**
* {@inheritDoc}
*/
public function setUri(?string $uri): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUri', [$uri]);
parent::setUri($uri);
}
/**
* {@inheritDoc}
*/
public function getTitle(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTitle', []);
return parent::getTitle();
}
/**
* {@inheritDoc}
*/
public function setTitle(string $title): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTitle', [$title]);
parent::setTitle($title);
}
/**
* {@inheritDoc}
*/
public function getDescription(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', []);
return parent::getDescription();
}
/**
* {@inheritDoc}
*/
public function setDescription(?string $description): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', [$description]);
parent::setDescription($description);
}
/**
* {@inheritDoc}
*/
public function getStatus(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatus', []);
return parent::getStatus();
}
/**
* {@inheritDoc}
*/
public function setStatus(int $status): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setStatus', [$status]);
parent::setStatus($status);
}
/**
* {@inheritDoc}
*/
public function getValidStart(): ?\DateTime
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getValidStart', []);
return parent::getValidStart();
}
/**
* {@inheritDoc}
*/
public function setValidStart(?\DateTime $validStart): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setValidStart', [$validStart]);
parent::setValidStart($validStart);
}
/**
* {@inheritDoc}
*/
public function getValidEnd(): ?\DateTime
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getValidEnd', []);
return parent::getValidEnd();
}
/**
* {@inheritDoc}
*/
public function setValidEnd(?\DateTime $validEnd): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setValidEnd', [$validEnd]);
parent::setValidEnd($validEnd);
}
/**
* {@inheritDoc}
*/
public function getSurveyQuestion(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSurveyQuestion', []);
return parent::getSurveyQuestion();
}
/**
* {@inheritDoc}
*/
public function addSurveyQuestion(\App\Entity\Survey\SurveyQuestion $surveyQuestion): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addSurveyQuestion', [$surveyQuestion]);
parent::addSurveyQuestion($surveyQuestion);
}
/**
* {@inheritDoc}
*/
public function removeSurveyQuestion(\App\Entity\Survey\SurveyQuestion $surveyQuestion): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeSurveyQuestion', [$surveyQuestion]);
parent::removeSurveyQuestion($surveyQuestion);
}
/**
* {@inheritDoc}
*/
public function getSurveyResult(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSurveyResult', []);
return parent::getSurveyResult();
}
/**
* {@inheritDoc}
*/
public function getAuthor(): ?\App\Entity\User\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAuthor', []);
return parent::getAuthor();
}
/**
* {@inheritDoc}
*/
public function setAuthor(\App\Entity\User\User $author): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAuthor', [$author]);
parent::setAuthor($author);
}
/**
* {@inheritDoc}
*/
public function getSurveyNotification(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSurveyNotification', []);
return parent::getSurveyNotification();
}
/**
* {@inheritDoc}
*/
public function addSurveyNotification(\App\Entity\Survey\SurveyNotification $surveyNotification): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addSurveyNotification', [$surveyNotification]);
parent::addSurveyNotification($surveyNotification);
}
/**
* {@inheritDoc}
*/
public function removeSurveyNotification(\App\Entity\Survey\SurveyNotification $surveyNotification): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeSurveyNotification', [$surveyNotification]);
parent::removeSurveyNotification($surveyNotification);
}
/**
* {@inheritDoc}
*/
public function getType(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getType', []);
return parent::getType();
}
/**
* {@inheritDoc}
*/
public function setType(int $type): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setType', [$type]);
parent::setType($type);
}
/**
* {@inheritDoc}
*/
public function getRefresh(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRefresh', []);
return parent::getRefresh();
}
/**
* {@inheritDoc}
*/
public function setRefresh(int $refresh): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setRefresh', [$refresh]);
parent::setRefresh($refresh);
}
/**
* {@inheritDoc}
*/
public function getResultMyself(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getResultMyself', []);
return parent::getResultMyself();
}
/**
* {@inheritDoc}
*/
public function setResultMyself(bool $resultMyself): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setResultMyself', [$resultMyself]);
parent::setResultMyself($resultMyself);
}
/**
* {@inheritDoc}
*/
public function getNotificationAfterEach(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNotificationAfterEach', []);
return parent::getNotificationAfterEach();
}
/**
* {@inheritDoc}
*/
public function setNotificationAfterEach(bool $notificationAfterEach): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNotificationAfterEach', [$notificationAfterEach]);
parent::setNotificationAfterEach($notificationAfterEach);
}
/**
* {@inheritDoc}
*/
public function getNotificationAppointedTime(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNotificationAppointedTime', []);
return parent::getNotificationAppointedTime();
}
/**
* {@inheritDoc}
*/
public function setNotificationAppointedTime(bool $notificationAppointedTime): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNotificationAppointedTime', [$notificationAppointedTime]);
parent::setNotificationAppointedTime($notificationAppointedTime);
}
/**
* {@inheritDoc}
*/
public function getNotificationDate(): ?\DateTime
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNotificationDate', []);
return parent::getNotificationDate();
}
/**
* {@inheritDoc}
*/
public function setNotificationDate(?\DateTime $notificationDate): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNotificationDate', [$notificationDate]);
parent::setNotificationDate($notificationDate);
}
/**
* {@inheritDoc}
*/
public function getSystemDate(): ?\DateTime
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSystemDate', []);
return parent::getSystemDate();
}
/**
* {@inheritDoc}
*/
public function setSystemDate(?\DateTime $systemDate): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSystemDate', [$systemDate]);
parent::setSystemDate($systemDate);
}
/**
* {@inheritDoc}
*/
public function getResultFilterStartInNotification(): ?\DateTime
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getResultFilterStartInNotification', []);
return parent::getResultFilterStartInNotification();
}
/**
* {@inheritDoc}
*/
public function setResultFilterStartInNotification(?\DateTime $resultFilterStartInNotification): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setResultFilterStartInNotification', [$resultFilterStartInNotification]);
parent::setResultFilterStartInNotification($resultFilterStartInNotification);
}
/**
* {@inheritDoc}
*/
public function getResultFilterEndInNotification(): ?\DateTime
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getResultFilterEndInNotification', []);
return parent::getResultFilterEndInNotification();
}
/**
* {@inheritDoc}
*/
public function setResultFilterEndInNotification(?\DateTime $resultFilterEndInNotification): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setResultFilterEndInNotification', [$resultFilterEndInNotification]);
parent::setResultFilterEndInNotification($resultFilterEndInNotification);
}
/**
* {@inheritDoc}
*/
public function getTimer(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTimer', []);
return parent::getTimer();
}
/**
* {@inheritDoc}
*/
public function setTimer(bool $timer): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTimer', [$timer]);
parent::setTimer($timer);
}
/**
* {@inheritDoc}
*/
public function getTimerTime(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTimerTime', []);
return parent::getTimerTime();
}
/**
* {@inheritDoc}
*/
public function setTimerTime(?int $timerTime): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTimerTime', [$timerTime]);
parent::setTimerTime($timerTime);
}
/**
* {@inheritDoc}
*/
public function getId(): ?int
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTime $createdAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
return parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTime $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
}