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\\Project' . "\0" . 'id', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'name', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'description', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'productsImport', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'draft', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'currentStep', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'archiving', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'deleted', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'exports', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'elementTypes', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'groupProjects', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'idUser', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'idOwnerGroup', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'projectDocuments', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'flux', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'updatedAt', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'createdAt']; } return ['__isInitialized__', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'id', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'name', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'description', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'productsImport', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'draft', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'currentStep', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'archiving', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'deleted', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'exports', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'elementTypes', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'groupProjects', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'idUser', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'idOwnerGroup', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'projectDocuments', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'flux', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'updatedAt', '' . "\0" . 'App\\Domain\\Entity\\Project' . "\0" . 'createdAt']; } /** * */ public function __wakeup() { if ( ! $this->__isInitialized__) { $this->__initializer__ = function (Project $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\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]); return parent::setName($name); } /** * {@inheritDoc} */ public function getDescription(): ?string { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', []); return parent::getDescription(); } /** * {@inheritDoc} */ public function setDescription(?string $description): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', [$description]); return parent::setDescription($description); } /** * {@inheritDoc} */ public function getProductsImport(): ?bool { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getProductsImport', []); return parent::getProductsImport(); } /** * {@inheritDoc} */ public function setProductsImport(bool $productsImport): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setProductsImport', [$productsImport]); return parent::setProductsImport($productsImport); } /** * {@inheritDoc} */ public function getDraft(): ?bool { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDraft', []); return parent::getDraft(); } /** * {@inheritDoc} */ public function setDraft(bool $draft): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDraft', [$draft]); return parent::setDraft($draft); } /** * {@inheritDoc} */ public function getCurrentStep(): ?int { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCurrentStep', []); return parent::getCurrentStep(); } /** * {@inheritDoc} */ public function setCurrentStep(int $currentStep): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCurrentStep', [$currentStep]); return parent::setCurrentStep($currentStep); } /** * {@inheritDoc} */ public function getArchiving(): ?bool { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getArchiving', []); return parent::getArchiving(); } /** * {@inheritDoc} */ public function setArchiving(bool $archiving): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setArchiving', [$archiving]); return parent::setArchiving($archiving); } /** * {@inheritDoc} */ public function getExports(): \Doctrine\Common\Collections\Collection { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getExports', []); return parent::getExports(); } /** * {@inheritDoc} */ public function addExport(\App\Domain\Entity\Exports $export): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addExport', [$export]); return parent::addExport($export); } /** * {@inheritDoc} */ public function removeExport(\App\Domain\Entity\Exports $export): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeExport', [$export]); return parent::removeExport($export); } /** * {@inheritDoc} */ public function getElementTypes(): \Doctrine\Common\Collections\Collection { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getElementTypes', []); return parent::getElementTypes(); } /** * {@inheritDoc} */ public function addElementType(\App\Domain\Entity\ElementType $elementType): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addElementType', [$elementType]); return parent::addElementType($elementType); } /** * {@inheritDoc} */ public function removeElementType(\App\Domain\Entity\ElementType $elementType): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeElementType', [$elementType]); return parent::removeElementType($elementType); } /** * {@inheritDoc} */ public function getDeleted(): ?bool { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeleted', []); return parent::getDeleted(); } /** * {@inheritDoc} */ public function setDeleted(bool $deleted): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeleted', [$deleted]); return parent::setDeleted($deleted); } /** * {@inheritDoc} */ public function getGroupProject(): \Doctrine\Common\Collections\Collection { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getGroupProject', []); return parent::getGroupProject(); } /** * {@inheritDoc} */ public function addGroupProject(\App\Domain\Entity\GroupProject $groupProject): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addGroupProject', [$groupProject]); return parent::addGroupProject($groupProject); } /** * {@inheritDoc} */ public function removeGroupProject(\App\Domain\Entity\GroupProject $groupProject): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeGroupProject', [$groupProject]); return parent::removeGroupProject($groupProject); } /** * {@inheritDoc} */ public function getIdUser(): int { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdUser', []); return parent::getIdUser(); } /** * {@inheritDoc} */ public function setIdUser(int $idUser): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdUser', [$idUser]); return parent::setIdUser($idUser); } /** * {@inheritDoc} */ public function getIdOwnergroup(): ?int { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdOwnergroup', []); return parent::getIdOwnergroup(); } /** * {@inheritDoc} */ public function setIdOwnerGroup(?int $idOwnerGroup): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdOwnerGroup', [$idOwnerGroup]); return parent::setIdOwnerGroup($idOwnerGroup); } /** * {@inheritDoc} */ public function getProjectDocuments(): \Doctrine\Common\Collections\Collection { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getProjectDocuments', []); return parent::getProjectDocuments(); } /** * {@inheritDoc} */ public function addProjectDocuments(\App\Domain\Entity\ProjectDocument $projectDocument): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addProjectDocuments', [$projectDocument]); return parent::addProjectDocuments($projectDocument); } /** * {@inheritDoc} */ public function removeProjectDocuments(\App\Domain\Entity\ProjectDocument $projectDocument): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeProjectDocuments', [$projectDocument]); return parent::removeProjectDocuments($projectDocument); } /** * {@inheritDoc} */ public function getFlux(): \Doctrine\Common\Collections\Collection { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFlux', []); return parent::getFlux(); } /** * {@inheritDoc} */ public function addFlux(\App\Domain\Entity\Flux $aggre): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addFlux', [$aggre]); return parent::addFlux($aggre); } /** * {@inheritDoc} */ public function removeFlux(\App\Domain\Entity\Flux $aggre): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeFlux', [$aggre]); return parent::removeFlux($aggre); } /** * {@inheritDoc} */ public function getUpdatedAt(): ?\DateTimeInterface { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []); return parent::getUpdatedAt(); } /** * {@inheritDoc} */ public function setUpdatedAt(?\DateTimeInterface $updatedAt): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]); return parent::setUpdatedAt($updatedAt); } /** * {@inheritDoc} */ public function getCreatedAt(): ?\DateTimeInterface { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []); return parent::getCreatedAt(); } /** * {@inheritDoc} */ public function setCreatedAt(?\DateTimeInterface $createdAt): \App\Domain\Entity\Project { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]); return parent::setCreatedAt($createdAt); } }