<?php
namespace Proxies\__CG__\App\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class User extends \App\Entity\User 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 (
);
/**
* @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 (
);
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\\Entity\\User' . "\0" . 'id', '' . "\0" . 'App\\Entity\\User' . "\0" . 'email', '' . "\0" . 'App\\Entity\\User' . "\0" . 'roles', '' . "\0" . 'App\\Entity\\User' . "\0" . 'password', '' . "\0" . 'App\\Entity\\User' . "\0" . 'firstname', '' . "\0" . 'App\\Entity\\User' . "\0" . 'lastname', '' . "\0" . 'App\\Entity\\User' . "\0" . 'fonction', '' . "\0" . 'App\\Entity\\User' . "\0" . 'tel', '' . "\0" . 'App\\Entity\\User' . "\0" . 'mobile', '' . "\0" . 'App\\Entity\\User' . "\0" . 'fax', '' . "\0" . 'App\\Entity\\User' . "\0" . 'createdAt', '' . "\0" . 'App\\Entity\\User' . "\0" . 'updatedAt', '' . "\0" . 'App\\Entity\\User' . "\0" . 'createdBy', '' . "\0" . 'App\\Entity\\User' . "\0" . 'updatedBy', '' . "\0" . 'App\\Entity\\User' . "\0" . 'group', '' . "\0" . 'App\\Entity\\User' . "\0" . 'reunionAvis', '' . "\0" . 'App\\Entity\\User' . "\0" . 'upperHierarchy', '' . "\0" . 'App\\Entity\\User' . "\0" . 'entity', '' . "\0" . 'App\\Entity\\User' . "\0" . 'processuses', '' . "\0" . 'App\\Entity\\User' . "\0" . 'modules', '' . "\0" . 'App\\Entity\\User' . "\0" . 'photo', '' . "\0" . 'App\\Entity\\User' . "\0" . 'gender', '' . "\0" . 'App\\Entity\\User' . "\0" . 'entiteAttache', '' . "\0" . 'App\\Entity\\User' . "\0" . 'entities', '' . "\0" . 'App\\Entity\\User' . "\0" . 'deletedAt'];
}
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\User' . "\0" . 'id', '' . "\0" . 'App\\Entity\\User' . "\0" . 'email', '' . "\0" . 'App\\Entity\\User' . "\0" . 'roles', '' . "\0" . 'App\\Entity\\User' . "\0" . 'password', '' . "\0" . 'App\\Entity\\User' . "\0" . 'firstname', '' . "\0" . 'App\\Entity\\User' . "\0" . 'lastname', '' . "\0" . 'App\\Entity\\User' . "\0" . 'fonction', '' . "\0" . 'App\\Entity\\User' . "\0" . 'tel', '' . "\0" . 'App\\Entity\\User' . "\0" . 'mobile', '' . "\0" . 'App\\Entity\\User' . "\0" . 'fax', '' . "\0" . 'App\\Entity\\User' . "\0" . 'createdAt', '' . "\0" . 'App\\Entity\\User' . "\0" . 'updatedAt', '' . "\0" . 'App\\Entity\\User' . "\0" . 'createdBy', '' . "\0" . 'App\\Entity\\User' . "\0" . 'updatedBy', '' . "\0" . 'App\\Entity\\User' . "\0" . 'group', '' . "\0" . 'App\\Entity\\User' . "\0" . 'reunionAvis', '' . "\0" . 'App\\Entity\\User' . "\0" . 'upperHierarchy', '' . "\0" . 'App\\Entity\\User' . "\0" . 'entity', '' . "\0" . 'App\\Entity\\User' . "\0" . 'processuses', '' . "\0" . 'App\\Entity\\User' . "\0" . 'modules', '' . "\0" . 'App\\Entity\\User' . "\0" . 'photo', '' . "\0" . 'App\\Entity\\User' . "\0" . 'gender', '' . "\0" . 'App\\Entity\\User' . "\0" . 'entiteAttache', '' . "\0" . 'App\\Entity\\User' . "\0" . 'entities', '' . "\0" . 'App\\Entity\\User' . "\0" . 'deletedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (User $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 getEmail(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmail', []);
return parent::getEmail();
}
/**
* {@inheritDoc}
*/
public function setEmail(string $email): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmail', [$email]);
return parent::setEmail($email);
}
/**
* {@inheritDoc}
*/
public function getUserIdentifier(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserIdentifier', []);
return parent::getUserIdentifier();
}
/**
* {@inheritDoc}
*/
public function getUsername(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUsername', []);
return parent::getUsername();
}
/**
* {@inheritDoc}
*/
public function getRoles(): array
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRoles', []);
return parent::getRoles();
}
/**
* {@inheritDoc}
*/
public function setRoles(array $roles): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setRoles', [$roles]);
return parent::setRoles($roles);
}
/**
* {@inheritDoc}
*/
public function getRolesLabel(): array
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRolesLabel', []);
return parent::getRolesLabel();
}
/**
* {@inheritDoc}
*/
public function getRolesLabelHtml(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRolesLabelHtml', []);
return parent::getRolesLabelHtml();
}
/**
* {@inheritDoc}
*/
public function hasRole($role): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'hasRole', [$role]);
return parent::hasRole($role);
}
/**
* {@inheritDoc}
*/
public function getPassword(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPassword', []);
return parent::getPassword();
}
/**
* {@inheritDoc}
*/
public function setPassword(string $password): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPassword', [$password]);
return parent::setPassword($password);
}
/**
* {@inheritDoc}
*/
public function getSalt(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSalt', []);
return parent::getSalt();
}
/**
* {@inheritDoc}
*/
public function eraseCredentials()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'eraseCredentials', []);
return parent::eraseCredentials();
}
/**
* {@inheritDoc}
*/
public function getFirstname(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFirstname', []);
return parent::getFirstname();
}
/**
* {@inheritDoc}
*/
public function setFirstname(string $firstname): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFirstname', [$firstname]);
return parent::setFirstname($firstname);
}
/**
* {@inheritDoc}
*/
public function getLastname(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastname', []);
return parent::getLastname();
}
/**
* {@inheritDoc}
*/
public function setLastname(string $lastname): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastname', [$lastname]);
return parent::setLastname($lastname);
}
/**
* {@inheritDoc}
*/
public function getFonction(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFonction', []);
return parent::getFonction();
}
/**
* {@inheritDoc}
*/
public function setFonction(?string $fonction): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFonction', [$fonction]);
return parent::setFonction($fonction);
}
/**
* {@inheritDoc}
*/
public function getTel(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTel', []);
return parent::getTel();
}
/**
* {@inheritDoc}
*/
public function setTel(?string $tel): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTel', [$tel]);
return parent::setTel($tel);
}
/**
* {@inheritDoc}
*/
public function getMobile(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMobile', []);
return parent::getMobile();
}
/**
* {@inheritDoc}
*/
public function setMobile(?string $mobile): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMobile', [$mobile]);
return parent::setMobile($mobile);
}
/**
* {@inheritDoc}
*/
public function getFax(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFax', []);
return parent::getFax();
}
/**
* {@inheritDoc}
*/
public function setFax(?string $fax): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFax', [$fax]);
return parent::setFax($fax);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(?\DateTimeInterface $createdAt): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
return parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(?\DateTimeInterface $updatedAt): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
/**
* {@inheritDoc}
*/
public function getCreatedBy(): ?\App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedBy', []);
return parent::getCreatedBy();
}
/**
* {@inheritDoc}
*/
public function setCreatedBy(?\App\Entity\User $createdBy): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedBy', [$createdBy]);
return parent::setCreatedBy($createdBy);
}
/**
* {@inheritDoc}
*/
public function getUpdatedBy(): ?\App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedBy', []);
return parent::getUpdatedBy();
}
/**
* {@inheritDoc}
*/
public function setUpdatedBy(?\App\Entity\User $updatedBy): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedBy', [$updatedBy]);
return parent::setUpdatedBy($updatedBy);
}
/**
* {@inheritDoc}
*/
public function getGroup(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getGroup', []);
return parent::getGroup();
}
/**
* {@inheritDoc}
*/
public function addToGroup(\App\Entity\Group $group): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addToGroup', [$group]);
return parent::addToGroup($group);
}
/**
* {@inheritDoc}
*/
public function removeFromGroup(\App\Entity\Group $group): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeFromGroup', [$group]);
return parent::removeFromGroup($group);
}
/**
* {@inheritDoc}
*/
public function getFullName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFullName', []);
return parent::getFullName();
}
/**
* {@inheritDoc}
*/
public function __toString()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);
return parent::__toString();
}
/**
* {@inheritDoc}
*/
public function getReunionAvis(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getReunionAvis', []);
return parent::getReunionAvis();
}
/**
* {@inheritDoc}
*/
public function addReunionAvi(\App\Entity\ReunionAvis $reunionAvi): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addReunionAvi', [$reunionAvi]);
return parent::addReunionAvi($reunionAvi);
}
/**
* {@inheritDoc}
*/
public function removeReunionAvi(\App\Entity\ReunionAvis $reunionAvi): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeReunionAvi', [$reunionAvi]);
return parent::removeReunionAvi($reunionAvi);
}
/**
* {@inheritDoc}
*/
public function getUpperHierarchy(): ?\App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpperHierarchy', []);
return parent::getUpperHierarchy();
}
/**
* {@inheritDoc}
*/
public function setUpperHierarchy(?\App\Entity\User $upperHierarchy): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpperHierarchy', [$upperHierarchy]);
return parent::setUpperHierarchy($upperHierarchy);
}
/**
* {@inheritDoc}
*/
public function getEntity(): ?\App\Entity\Configuration\CompanyEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEntity', []);
return parent::getEntity();
}
/**
* {@inheritDoc}
*/
public function setEntity(?\App\Entity\Configuration\CompanyEntity $entity): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEntity', [$entity]);
return parent::setEntity($entity);
}
/**
* {@inheritDoc}
*/
public function getProcessuses(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProcessuses', []);
return parent::getProcessuses();
}
/**
* {@inheritDoc}
*/
public function getProcessusesHtml(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProcessusesHtml', []);
return parent::getProcessusesHtml();
}
/**
* {@inheritDoc}
*/
public function addProcessus(\App\Entity\Processus $processus): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addProcessus', [$processus]);
return parent::addProcessus($processus);
}
/**
* {@inheritDoc}
*/
public function removeProcessus(\App\Entity\Processus $processus): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeProcessus', [$processus]);
return parent::removeProcessus($processus);
}
/**
* {@inheritDoc}
*/
public function getModules(): ?array
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getModules', []);
return parent::getModules();
}
/**
* {@inheritDoc}
*/
public function getModulesHtml(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getModulesHtml', []);
return parent::getModulesHtml();
}
/**
* {@inheritDoc}
*/
public function setModules(?array $modules): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setModules', [$modules]);
return parent::setModules($modules);
}
/**
* {@inheritDoc}
*/
public function getPhoto(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPhoto', []);
return parent::getPhoto();
}
/**
* {@inheritDoc}
*/
public function setPhoto(?string $photo): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPhoto', [$photo]);
return parent::setPhoto($photo);
}
/**
* {@inheritDoc}
*/
public function getGender(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getGender', []);
return parent::getGender();
}
/**
* {@inheritDoc}
*/
public function setGender(?string $gender): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setGender', [$gender]);
return parent::setGender($gender);
}
/**
* {@inheritDoc}
*/
public function getEntiteAttache(): ?\App\Entity\Configuration\CompanyEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEntiteAttache', []);
return parent::getEntiteAttache();
}
/**
* {@inheritDoc}
*/
public function setEntiteAttache(?\App\Entity\Configuration\CompanyEntity $entiteAttache): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEntiteAttache', [$entiteAttache]);
return parent::setEntiteAttache($entiteAttache);
}
/**
* {@inheritDoc}
*/
public function getEntities(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEntities', []);
return parent::getEntities();
}
/**
* {@inheritDoc}
*/
public function addEntity(\App\Entity\Configuration\CompanyEntity $entity): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addEntity', [$entity]);
return parent::addEntity($entity);
}
/**
* {@inheritDoc}
*/
public function removeEntity(\App\Entity\Configuration\CompanyEntity $entity): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeEntity', [$entity]);
return parent::removeEntity($entity);
}
/**
* {@inheritDoc}
*/
public function getDeletedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeletedAt', []);
return parent::getDeletedAt();
}
/**
* {@inheritDoc}
*/
public function setDeletedAt(?\DateTimeInterface $deletedAt): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeletedAt', [$deletedAt]);
return parent::setDeletedAt($deletedAt);
}
}