properties to be lazy loaded, indexed by property name */ public static $lazyPropertiesNames = array ( ); /** * @var array default values of properties to be lazy loaded, with keys being the property names * * @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties */ public static $lazyPropertiesDefaults = array ( ); public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null) { $this->__initializer__ = $initializer; $this->__cloner__ = $cloner; } /** * * @return array */ public function __sleep() { if ($this->__isInitialized__) { return ['__isInitialized__', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'id', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'project', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'name', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'exportType', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'canal', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'description', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'deleted', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'archived', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'templates', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'workflowProjects', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'elementValues', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'elementMedias', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'exportTemplateOptions', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'socialPosts', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'versions', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'cdf', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'flux']; } return ['__isInitialized__', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'id', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'project', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'name', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'exportType', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'canal', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'description', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'deleted', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'archived', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'templates', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'workflowProjects', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'elementValues', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'elementMedias', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'exportTemplateOptions', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'socialPosts', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'versions', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'cdf', '' . "\0" . 'App\\Domain\\Entity\\Exports' . "\0" . 'flux']; } /** * */ public function __wakeup() { if ( ! $this->__isInitialized__) { $this->__initializer__ = function (Exports $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; } } }; } } /** * */ 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 getId(): ?int { if ($this->__isInitialized__ === false) { return (int) parent::getId(); } $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); return parent::getId(); } /** * {@inheritDoc} */ public function getName(): ?string { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []); return parent::getName(); } /** * {@inheritDoc} */ public function setName(string $name): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]); return parent::setName($name); } /** * {@inheritDoc} */ public function getExportType(): ?int { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getExportType', []); return parent::getExportType(); } /** * {@inheritDoc} */ public function setExportType(?int $exportType): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setExportType', [$exportType]); return parent::setExportType($exportType); } /** * {@inheritDoc} */ public function getDescription(): ?string { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', []); return parent::getDescription(); } /** * {@inheritDoc} */ public function setDescription(?string $description): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', [$description]); return parent::setDescription($description); } /** * {@inheritDoc} */ public function getDeleted(): ?bool { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeleted', []); return parent::getDeleted(); } /** * {@inheritDoc} */ public function setDeleted(?bool $deleted): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeleted', [$deleted]); return parent::setDeleted($deleted); } /** * {@inheritDoc} */ public function getProject(): ?\App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getProject', []); return parent::getProject(); } /** * {@inheritDoc} */ public function setProject(?\App\Domain\Entity\Project $project): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setProject', [$project]); return parent::setProject($project); } /** * {@inheritDoc} */ public function getTemplates(): \Doctrine\Common\Collections\Collection { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTemplates', []); return parent::getTemplates(); } /** * {@inheritDoc} */ public function addTemplate(\App\Domain\Entity\ElementTypesTemplates $template): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addTemplate', [$template]); return parent::addTemplate($template); } /** * {@inheritDoc} */ public function removeTemplate(\App\Domain\Entity\ElementTypesTemplates $template): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeTemplate', [$template]); return parent::removeTemplate($template); } /** * {@inheritDoc} */ public function getWorkflowProjects(): ?\App\Domain\Entity\WorkflowProject { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWorkflowProjects', []); return parent::getWorkflowProjects(); } /** * {@inheritDoc} */ public function setWorkflowProjects(?\App\Domain\Entity\WorkflowProject $workflowProjects): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setWorkflowProjects', [$workflowProjects]); return parent::setWorkflowProjects($workflowProjects); } /** * {@inheritDoc} */ public function getElementValues(): \Doctrine\Common\Collections\Collection { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getElementValues', []); return parent::getElementValues(); } /** * {@inheritDoc} */ public function addElementValue(\App\Domain\Entity\Value $elementValue): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addElementValue', [$elementValue]); return parent::addElementValue($elementValue); } /** * {@inheritDoc} */ public function removeElementValue(\App\Domain\Entity\Value $elementValue): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeElementValue', [$elementValue]); return parent::removeElementValue($elementValue); } /** * {@inheritDoc} */ public function getElementMedias(): \Doctrine\Common\Collections\Collection { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getElementMedias', []); return parent::getElementMedias(); } /** * {@inheritDoc} */ public function addElementMedias(\App\Domain\Entity\ElementMedia $elementMedias): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addElementMedias', [$elementMedias]); return parent::addElementMedias($elementMedias); } /** * {@inheritDoc} */ public function removeElementMedias(\App\Domain\Entity\ElementMedia $elementMedias): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeElementMedias', [$elementMedias]); return parent::removeElementMedias($elementMedias); } /** * {@inheritDoc} */ public function getExportTemplateOptions(): \Doctrine\Common\Collections\Collection { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getExportTemplateOptions', []); return parent::getExportTemplateOptions(); } /** * {@inheritDoc} */ public function addExportTemplateOptions(\App\Domain\Entity\ExportTemplateOption $exportTemplateOptions): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addExportTemplateOptions', [$exportTemplateOptions]); return parent::addExportTemplateOptions($exportTemplateOptions); } /** * {@inheritDoc} */ public function removeExportTemplateOptions(\App\Domain\Entity\ExportTemplateOption $exportTemplateOptions): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeExportTemplateOptions', [$exportTemplateOptions]); return parent::removeExportTemplateOptions($exportTemplateOptions); } /** * {@inheritDoc} */ public function getSocialPost(): \Doctrine\Common\Collections\Collection { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSocialPost', []); return parent::getSocialPost(); } /** * {@inheritDoc} */ public function addSocialPosts(\App\Domain\Entity\SocialPost $socialPost): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addSocialPosts', [$socialPost]); return parent::addSocialPosts($socialPost); } /** * {@inheritDoc} */ public function removeSocialPosts(\App\Domain\Entity\SocialPost $socialPost): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeSocialPosts', [$socialPost]); return parent::removeSocialPosts($socialPost); } /** * {@inheritDoc} */ public function getVersions(): \Doctrine\Common\Collections\Collection { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getVersions', []); return parent::getVersions(); } /** * {@inheritDoc} */ public function addVersion(\App\Domain\Entity\VersionExport $version): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addVersion', [$version]); return parent::addVersion($version); } /** * {@inheritDoc} */ public function removeVersion(\App\Domain\Entity\VersionExport $version): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeVersion', [$version]); return parent::removeVersion($version); } /** * {@inheritDoc} */ public function getCdf(): ?\App\Domain\Entity\Cdf { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCdf', []); return parent::getCdf(); } /** * {@inheritDoc} */ public function setCdf(?\App\Domain\Entity\Cdf $cdf): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCdf', [$cdf]); return parent::setCdf($cdf); } /** * {@inheritDoc} */ public function getCanal(): ?string { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCanal', []); return parent::getCanal(); } /** * {@inheritDoc} */ public function setCanal(?string $canal): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCanal', [$canal]); return parent::setCanal($canal); } /** * {@inheritDoc} */ public function getFlux(): ?\App\Domain\Entity\Flux { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFlux', []); return parent::getFlux(); } /** * {@inheritDoc} */ public function setFlux(?\App\Domain\Entity\Flux $flux): \App\Domain\Entity\Exports { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFlux', [$flux]); return parent::setFlux($flux); } }