<?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__', 'id', 'email', 'roles', 'password', 'isVerified', 'isConnected', 'lastName', 'firstName', '' . "\0" . 'App\\Entity\\User' . "\0" . 'company', '' . "\0" . 'App\\Entity\\User' . "\0" . 'image', '' . "\0" . 'App\\Entity\\User' . "\0" . 'imageFile', '' . "\0" . 'App\\Entity\\User' . "\0" . 'phone', '' . "\0" . 'App\\Entity\\User' . "\0" . 'address', '' . "\0" . 'App\\Entity\\User' . "\0" . 'profession', '' . "\0" . 'App\\Entity\\User' . "\0" . 'companyname', '' . "\0" . 'App\\Entity\\User' . "\0" . 'birthday', '' . "\0" . 'App\\Entity\\User' . "\0" . 'nationality', '' . "\0" . 'App\\Entity\\User' . "\0" . 'gender', '' . "\0" . 'App\\Entity\\User' . "\0" . 'currency', '' . "\0" . 'App\\Entity\\User' . "\0" . 'languages', '' . "\0" . 'App\\Entity\\User' . "\0" . 'abonnements', '' . "\0" . 'App\\Entity\\User' . "\0" . 'avis', '' . "\0" . 'App\\Entity\\User' . "\0" . 'reclamationprestas', '' . "\0" . 'App\\Entity\\User' . "\0" . 'annonces', '' . "\0" . 'App\\Entity\\User' . "\0" . 'infologs', '' . "\0" . 'App\\Entity\\User' . "\0" . 'publications', '' . "\0" . 'App\\Entity\\User' . "\0" . 'reclamationCustomers', 'createdAt', 'updatedAt'];
}
return ['__isInitialized__', 'id', 'email', 'roles', 'password', 'isVerified', 'isConnected', 'lastName', 'firstName', '' . "\0" . 'App\\Entity\\User' . "\0" . 'company', '' . "\0" . 'App\\Entity\\User' . "\0" . 'image', '' . "\0" . 'App\\Entity\\User' . "\0" . 'imageFile', '' . "\0" . 'App\\Entity\\User' . "\0" . 'phone', '' . "\0" . 'App\\Entity\\User' . "\0" . 'address', '' . "\0" . 'App\\Entity\\User' . "\0" . 'profession', '' . "\0" . 'App\\Entity\\User' . "\0" . 'companyname', '' . "\0" . 'App\\Entity\\User' . "\0" . 'birthday', '' . "\0" . 'App\\Entity\\User' . "\0" . 'nationality', '' . "\0" . 'App\\Entity\\User' . "\0" . 'gender', '' . "\0" . 'App\\Entity\\User' . "\0" . 'currency', '' . "\0" . 'App\\Entity\\User' . "\0" . 'languages', '' . "\0" . 'App\\Entity\\User' . "\0" . 'abonnements', '' . "\0" . 'App\\Entity\\User' . "\0" . 'avis', '' . "\0" . 'App\\Entity\\User' . "\0" . 'reclamationprestas', '' . "\0" . 'App\\Entity\\User' . "\0" . 'annonces', '' . "\0" . 'App\\Entity\\User' . "\0" . 'infologs', '' . "\0" . 'App\\Entity\\User' . "\0" . 'publications', '' . "\0" . 'App\\Entity\\User' . "\0" . 'reclamationCustomers', 'createdAt', 'updatedAt'];
}
/**
*
*/
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 preUpdate()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'preUpdate', []);
return parent::preUpdate();
}
/**
* {@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 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 addRole($role)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addRole', [$role]);
return parent::addRole($role);
}
/**
* {@inheritDoc}
*/
public function hasRole($role)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'hasRole', [$role]);
return parent::hasRole($role);
}
/**
* {@inheritDoc}
*/
public function removeRole($role)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeRole', [$role]);
return parent::removeRole($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 getIsVerified(): ?bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsVerified', []);
return parent::getIsVerified();
}
/**
* {@inheritDoc}
*/
public function setIsVerified(bool $isVerified): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsVerified', [$isVerified]);
return parent::setIsVerified($isVerified);
}
/**
* {@inheritDoc}
*/
public function getIsConnected(): ?bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsConnected', []);
return parent::getIsConnected();
}
/**
* {@inheritDoc}
*/
public function setIsConnected(bool $isConnected): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsConnected', [$isConnected]);
return parent::setIsConnected($isConnected);
}
/**
* {@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 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 getSalt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSalt', []);
return parent::getSalt();
}
/**
* {@inheritDoc}
*/
public function getUsername()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUsername', []);
return parent::getUsername();
}
/**
* {@inheritDoc}
*/
public function eraseCredentials()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'eraseCredentials', []);
return parent::eraseCredentials();
}
/**
* {@inheritDoc}
*/
public function serialize()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'serialize', []);
return parent::serialize();
}
/**
* {@inheritDoc}
*/
public function unserialize($serialized)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'unserialize', [$serialized]);
return parent::unserialize($serialized);
}
/**
* {@inheritDoc}
*/
public function getCompany(): ?\App\Entity\Company
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCompany', []);
return parent::getCompany();
}
/**
* {@inheritDoc}
*/
public function setCompany(?\App\Entity\Company $company): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCompany', [$company]);
return parent::setCompany($company);
}
/**
* {@inheritDoc}
*/
public function getImage(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getImage', []);
return parent::getImage();
}
/**
* {@inheritDoc}
*/
public function setImage(?string $image): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setImage', [$image]);
return parent::setImage($image);
}
/**
* {@inheritDoc}
*/
public function setImageFile(\Symfony\Component\HttpFoundation\File\File $image = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setImageFile', [$image]);
return parent::setImageFile($image);
}
/**
* {@inheritDoc}
*/
public function getImageFile()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getImageFile', []);
return parent::getImageFile();
}
/**
* {@inheritDoc}
*/
public function getPhone(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPhone', []);
return parent::getPhone();
}
/**
* {@inheritDoc}
*/
public function setPhone(?string $phone): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPhone', [$phone]);
return parent::setPhone($phone);
}
/**
* {@inheritDoc}
*/
public function getAddress(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAddress', []);
return parent::getAddress();
}
/**
* {@inheritDoc}
*/
public function setAddress(?string $address): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAddress', [$address]);
return parent::setAddress($address);
}
/**
* {@inheritDoc}
*/
public function getProfession(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProfession', []);
return parent::getProfession();
}
/**
* {@inheritDoc}
*/
public function setProfession(?string $profession): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setProfession', [$profession]);
return parent::setProfession($profession);
}
/**
* {@inheritDoc}
*/
public function getCompanyname(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCompanyname', []);
return parent::getCompanyname();
}
/**
* {@inheritDoc}
*/
public function setCompanyname(?string $companyname): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCompanyname', [$companyname]);
return parent::setCompanyname($companyname);
}
/**
* {@inheritDoc}
*/
public function getNationality(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNationality', []);
return parent::getNationality();
}
/**
* {@inheritDoc}
*/
public function setNationality(?string $nationality): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNationality', [$nationality]);
return parent::setNationality($nationality);
}
/**
* {@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 getBirthday(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBirthday', []);
return parent::getBirthday();
}
/**
* {@inheritDoc}
*/
public function setBirthday(?\DateTimeInterface $birthday): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setBirthday', [$birthday]);
return parent::setBirthday($birthday);
}
/**
* {@inheritDoc}
*/
public function getCurrency(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCurrency', []);
return parent::getCurrency();
}
/**
* {@inheritDoc}
*/
public function setCurrency(?string $currency): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCurrency', [$currency]);
return parent::setCurrency($currency);
}
/**
* {@inheritDoc}
*/
public function getLanguages(): ?array
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLanguages', []);
return parent::getLanguages();
}
/**
* {@inheritDoc}
*/
public function setLanguages(?array $languages): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLanguages', [$languages]);
return parent::setLanguages($languages);
}
/**
* {@inheritDoc}
*/
public function getAbonnements(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAbonnements', []);
return parent::getAbonnements();
}
/**
* {@inheritDoc}
*/
public function addAbonnement(\App\Entity\Abonnement $abonnement): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addAbonnement', [$abonnement]);
return parent::addAbonnement($abonnement);
}
/**
* {@inheritDoc}
*/
public function removeAbonnement(\App\Entity\Abonnement $abonnement): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeAbonnement', [$abonnement]);
return parent::removeAbonnement($abonnement);
}
/**
* {@inheritDoc}
*/
public function getAvis(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAvis', []);
return parent::getAvis();
}
/**
* {@inheritDoc}
*/
public function addAvi(\App\Entity\Avis $avi): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addAvi', [$avi]);
return parent::addAvi($avi);
}
/**
* {@inheritDoc}
*/
public function removeAvi(\App\Entity\Avis $avi): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeAvi', [$avi]);
return parent::removeAvi($avi);
}
/**
* {@inheritDoc}
*/
public function getReclamationprestas(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getReclamationprestas', []);
return parent::getReclamationprestas();
}
/**
* {@inheritDoc}
*/
public function addReclamationpresta(\App\Entity\Reclamationpresta $reclamationpresta): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addReclamationpresta', [$reclamationpresta]);
return parent::addReclamationpresta($reclamationpresta);
}
/**
* {@inheritDoc}
*/
public function removeReclamationpresta(\App\Entity\Reclamationpresta $reclamationpresta): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeReclamationpresta', [$reclamationpresta]);
return parent::removeReclamationpresta($reclamationpresta);
}
/**
* {@inheritDoc}
*/
public function getInfologs(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getInfologs', []);
return parent::getInfologs();
}
/**
* {@inheritDoc}
*/
public function addInfolog(\App\Entity\Infolog $infolog): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addInfolog', [$infolog]);
return parent::addInfolog($infolog);
}
/**
* {@inheritDoc}
*/
public function removeInfolog(\App\Entity\Infolog $infolog): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeInfolog', [$infolog]);
return parent::removeInfolog($infolog);
}
/**
* {@inheritDoc}
*/
public function getPublications(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPublications', []);
return parent::getPublications();
}
/**
* {@inheritDoc}
*/
public function addPublication(\App\Entity\Publication $publication): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addPublication', [$publication]);
return parent::addPublication($publication);
}
/**
* {@inheritDoc}
*/
public function removePublication(\App\Entity\Publication $publication): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removePublication', [$publication]);
return parent::removePublication($publication);
}
/**
* {@inheritDoc}
*/
public function getReclamationCustomers(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getReclamationCustomers', []);
return parent::getReclamationCustomers();
}
/**
* {@inheritDoc}
*/
public function addReclamationCustomer(\App\Entity\ReclamationCustomer $reclamationCustomer): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addReclamationCustomer', [$reclamationCustomer]);
return parent::addReclamationCustomer($reclamationCustomer);
}
/**
* {@inheritDoc}
*/
public function removeReclamationCustomer(\App\Entity\ReclamationCustomer $reclamationCustomer): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeReclamationCustomer', [$reclamationCustomer]);
return parent::removeReclamationCustomer($reclamationCustomer);
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', []);
return parent::setCreatedAt();
}
/**
* {@inheritDoc}
*/
public function getCreatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(): \App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', []);
return parent::setUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt(): ?\DateTime
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
}