<?php
namespace Proxies\__CG__\Diplix\KMGBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class User extends \Diplix\KMGBundle\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" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'id', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'username', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'email', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'password', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'isActive', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'hidden', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'roles', 'customer', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'additionalVisibleCustomers', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'firstName', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'lastName', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'phone', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'mailActionHash', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'mailActionMode', 'locale', 'currentSubstituteUser', 'lastPasswordChange', 'sysUser', 'mailCC', 'autoFillOrdererDetailsInNewOrder', 'member', 'fcmTokens', 'deviceTokens', 'profileImage', 'homeAddress', 'telegramId', 'sharedKey', 'beCreated', 'beEdited', 'beDeleted', 'beOwner', 'beComment'];
}
return ['__isInitialized__', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'id', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'username', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'email', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'password', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'isActive', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'hidden', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'roles', 'customer', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'additionalVisibleCustomers', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'firstName', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'lastName', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'phone', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'mailActionHash', '' . "\0" . 'Diplix\\KMGBundle\\Entity\\User' . "\0" . 'mailActionMode', 'locale', 'currentSubstituteUser', 'lastPasswordChange', 'sysUser', 'mailCC', 'autoFillOrdererDetailsInNewOrder', 'member', 'fcmTokens', 'deviceTokens', 'profileImage', 'homeAddress', 'telegramId', 'sharedKey', 'beCreated', 'beEdited', 'beDeleted', 'beOwner', 'beComment'];
}
/**
*
*/
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 __toString(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);
return parent::__toString();
}
/**
* {@inheritDoc}
*/
public function getShortName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShortName', []);
return parent::getShortName();
}
/**
* {@inheritDoc}
*/
public function eraseMyself()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'eraseMyself', []);
return parent::eraseMyself();
}
/**
* {@inheritDoc}
*/
public function getRoles($asObject = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRoles', [$asObject]);
return parent::getRoles($asObject);
}
/**
* {@inheritDoc}
*/
public function hasRole($roleName)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'hasRole', [$roleName]);
return parent::hasRole($roleName);
}
/**
* {@inheritDoc}
*/
public function getUsername()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUsername', []);
return parent::getUsername();
}
/**
* {@inheritDoc}
*/
public function setUsername($un)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUsername', [$un]);
return parent::setUsername($un);
}
/**
* {@inheritDoc}
*/
public function getSalt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSalt', []);
return parent::getSalt();
}
/**
* {@inheritDoc}
*/
public function getPassword(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPassword', []);
return parent::getPassword();
}
/**
* {@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 isEqualTo(\Symfony\Component\Security\Core\User\UserInterface $user)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isEqualTo', [$user]);
return parent::isEqualTo($user);
}
/**
* {@inheritDoc}
*/
public function isAccountNonLocked()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isAccountNonLocked', []);
return parent::isAccountNonLocked();
}
/**
* {@inheritDoc}
*/
public function isEnabled()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isEnabled', []);
return parent::isEnabled();
}
/**
* {@inheritDoc}
*/
public function getId()
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function setEmail($email)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmail', [$email]);
return parent::setEmail($email);
}
/**
* {@inheritDoc}
*/
public function getEmail()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmail', []);
return parent::getEmail();
}
/**
* {@inheritDoc}
*/
public function setPassword($password)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPassword', [$password]);
return parent::setPassword($password);
}
/**
* {@inheritDoc}
*/
public function setIsActive($isActive)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsActive', [$isActive]);
return parent::setIsActive($isActive);
}
/**
* {@inheritDoc}
*/
public function getIsActive()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsActive', []);
return parent::getIsActive();
}
/**
* {@inheritDoc}
*/
public function addRole(\Diplix\KMGBundle\Entity\Role $roles)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addRole', [$roles]);
return parent::addRole($roles);
}
/**
* {@inheritDoc}
*/
public function removeRole(\Diplix\KMGBundle\Entity\Role $roles)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeRole', [$roles]);
return parent::removeRole($roles);
}
/**
* {@inheritDoc}
*/
public function setFirstName($firstName)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFirstName', [$firstName]);
return parent::setFirstName($firstName);
}
/**
* {@inheritDoc}
*/
public function getFirstName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFirstName', []);
return parent::getFirstName();
}
/**
* {@inheritDoc}
*/
public function setLastName($lastName)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastName', [$lastName]);
return parent::setLastName($lastName);
}
/**
* {@inheritDoc}
*/
public function getLastName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastName', []);
return parent::getLastName();
}
/**
* {@inheritDoc}
*/
public function setMailActionHash($mailActionHash)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMailActionHash', [$mailActionHash]);
return parent::setMailActionHash($mailActionHash);
}
/**
* {@inheritDoc}
*/
public function getMailActionHash()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMailActionHash', []);
return parent::getMailActionHash();
}
/**
* {@inheritDoc}
*/
public function setMailActionMode($mailActionMode)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMailActionMode', [$mailActionMode]);
return parent::setMailActionMode($mailActionMode);
}
/**
* {@inheritDoc}
*/
public function getMailActionMode()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMailActionMode', []);
return parent::getMailActionMode();
}
/**
* {@inheritDoc}
*/
public function getHidden()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getHidden', []);
return parent::getHidden();
}
/**
* {@inheritDoc}
*/
public function setHidden($hidden)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setHidden', [$hidden]);
return parent::setHidden($hidden);
}
/**
* {@inheritDoc}
*/
public function getLocale()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLocale', []);
return parent::getLocale();
}
/**
* {@inheritDoc}
*/
public function setLocale($locale)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLocale', [$locale]);
return parent::setLocale($locale);
}
/**
* {@inheritDoc}
*/
public function getCustomer()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCustomer', []);
return parent::getCustomer();
}
/**
* {@inheritDoc}
*/
public function setCustomer($customer)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCustomer', [$customer]);
return parent::setCustomer($customer);
}
/**
* {@inheritDoc}
*/
public function getPhone()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPhone', []);
return parent::getPhone();
}
/**
* {@inheritDoc}
*/
public function setPhone($phone)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPhone', [$phone]);
return parent::setPhone($phone);
}
/**
* {@inheritDoc}
*/
public function getCurrentSubstituteUser()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCurrentSubstituteUser', []);
return parent::getCurrentSubstituteUser();
}
/**
* {@inheritDoc}
*/
public function setCurrentSubstituteUser($currentSubstituteUser)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCurrentSubstituteUser', [$currentSubstituteUser]);
return parent::setCurrentSubstituteUser($currentSubstituteUser);
}
/**
* {@inheritDoc}
*/
public function getLastPasswordChange()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastPasswordChange', []);
return parent::getLastPasswordChange();
}
/**
* {@inheritDoc}
*/
public function setLastPasswordChange($lastPasswordChange)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastPasswordChange', [$lastPasswordChange]);
return parent::setLastPasswordChange($lastPasswordChange);
}
/**
* {@inheritDoc}
*/
public function getSysUser()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSysUser', []);
return parent::getSysUser();
}
/**
* {@inheritDoc}
*/
public function setSysUser($sysUser)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSysUser', [$sysUser]);
return parent::setSysUser($sysUser);
}
/**
* {@inheritDoc}
*/
public function getMailCC()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMailCC', []);
return parent::getMailCC();
}
/**
* {@inheritDoc}
*/
public function setMailCC($mailCC)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMailCC', [$mailCC]);
return parent::setMailCC($mailCC);
}
/**
* {@inheritDoc}
*/
public function getAutoFillOrdererDetailsInNewOrder()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAutoFillOrdererDetailsInNewOrder', []);
return parent::getAutoFillOrdererDetailsInNewOrder();
}
/**
* {@inheritDoc}
*/
public function setAutoFillOrdererDetailsInNewOrder($autoFillOrdererDetailsInNewOrder)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAutoFillOrdererDetailsInNewOrder', [$autoFillOrdererDetailsInNewOrder]);
return parent::setAutoFillOrdererDetailsInNewOrder($autoFillOrdererDetailsInNewOrder);
}
/**
* {@inheritDoc}
*/
public function getAdditionalVisibleCustomers()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAdditionalVisibleCustomers', []);
return parent::getAdditionalVisibleCustomers();
}
/**
* {@inheritDoc}
*/
public function setAdditionalVisibleCustomers($additionalVisibleCustomers)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAdditionalVisibleCustomers', [$additionalVisibleCustomers]);
return parent::setAdditionalVisibleCustomers($additionalVisibleCustomers);
}
/**
* {@inheritDoc}
*/
public function getMember()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMember', []);
return parent::getMember();
}
/**
* {@inheritDoc}
*/
public function setMember($member)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMember', [$member]);
return parent::setMember($member);
}
/**
* {@inheritDoc}
*/
public function getFcmTokens()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFcmTokens', []);
return parent::getFcmTokens();
}
/**
* {@inheritDoc}
*/
public function getDeviceTokens(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeviceTokens', []);
return parent::getDeviceTokens();
}
/**
* {@inheritDoc}
*/
public function setDeviceTokens(\Doctrine\Common\Collections\ArrayCollection $deviceTokens): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeviceTokens', [$deviceTokens]);
parent::setDeviceTokens($deviceTokens);
}
/**
* {@inheritDoc}
*/
public function getProfileImage()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProfileImage', []);
return parent::getProfileImage();
}
/**
* {@inheritDoc}
*/
public function setProfileImage($profileImage): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setProfileImage', [$profileImage]);
parent::setProfileImage($profileImage);
}
/**
* {@inheritDoc}
*/
public function getHomeAddress()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getHomeAddress', []);
return parent::getHomeAddress();
}
/**
* {@inheritDoc}
*/
public function setHomeAddress($homeAddress): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setHomeAddress', [$homeAddress]);
parent::setHomeAddress($homeAddress);
}
/**
* {@inheritDoc}
*/
public function getTelegramId(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTelegramId', []);
return parent::getTelegramId();
}
/**
* {@inheritDoc}
*/
public function setTelegramId(string $telegramId): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTelegramId', [$telegramId]);
parent::setTelegramId($telegramId);
}
/**
* {@inheritDoc}
*/
public function getSharedKey($binary = false): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSharedKey', [$binary]);
return parent::getSharedKey($binary);
}
/**
* {@inheritDoc}
*/
public function setSharedKey(string $sharedKey, $isBinaryKey = false): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSharedKey', [$sharedKey, $isBinaryKey]);
parent::setSharedKey($sharedKey, $isBinaryKey);
}
/**
* {@inheritDoc}
*/
public function jsonSerialize()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'jsonSerialize', []);
return parent::jsonSerialize();
}
/**
* {@inheritDoc}
*/
public function setBeCreated($beCreated)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setBeCreated', [$beCreated]);
return parent::setBeCreated($beCreated);
}
/**
* {@inheritDoc}
*/
public function getBeCreated(): ?\DateTime
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBeCreated', []);
return parent::getBeCreated();
}
/**
* {@inheritDoc}
*/
public function setBeEdited($beEdited)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setBeEdited', [$beEdited]);
return parent::setBeEdited($beEdited);
}
/**
* {@inheritDoc}
*/
public function getBeEdited()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBeEdited', []);
return parent::getBeEdited();
}
/**
* {@inheritDoc}
*/
public function setBeDeleted($beDeleted)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setBeDeleted', [$beDeleted]);
return parent::setBeDeleted($beDeleted);
}
/**
* {@inheritDoc}
*/
public function getBeDeleted()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBeDeleted', []);
return parent::getBeDeleted();
}
/**
* {@inheritDoc}
*/
public function setBeOwner($beOwner)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setBeOwner', [$beOwner]);
return parent::setBeOwner($beOwner);
}
/**
* {@inheritDoc}
*/
public function getBeOwner()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBeOwner', []);
return parent::getBeOwner();
}
/**
* {@inheritDoc}
*/
public function setBeComment($beComment)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setBeComment', [$beComment]);
return parent::setBeComment($beComment);
}
/**
* {@inheritDoc}
*/
public function getBeComment()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBeComment', []);
return parent::getBeComment();
}
}