<?php
namespace Proxies\__CG__\App\Entity\Account;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Advertiser extends \App\Entity\Account\Advertiser 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\\Account\\Advertiser' . "\0" . 'phoneReviewsAdded', '' . "\0" . 'App\\Entity\\Account\\Advertiser' . "\0" . 'profiles', '' . "\0" . 'App\\Entity\\Account\\Advertiser' . "\0" . 'saloons', 'avatar'];
}
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Account\\Advertiser' . "\0" . 'phoneReviewsAdded', '' . "\0" . 'App\\Entity\\Account\\Advertiser' . "\0" . 'profiles', '' . "\0" . 'App\\Entity\\Account\\Advertiser' . "\0" . 'saloons', 'avatar'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Advertiser $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 getProfiles(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProfiles', []);
return parent::getProfiles();
}
/**
* {@inheritDoc}
*/
public function addProfile(\App\Entity\Profile\Profile $profile): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addProfile', [$profile]);
parent::addProfile($profile);
}
/**
* {@inheritDoc}
*/
public function removeProfile(\App\Entity\Profile\Profile $profile): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeProfile', [$profile]);
parent::removeProfile($profile);
}
/**
* {@inheritDoc}
*/
public function getSaloons(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSaloons', []);
return parent::getSaloons();
}
/**
* {@inheritDoc}
*/
public function addSaloon(\App\Entity\Saloon\Saloon $saloon): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addSaloon', [$saloon]);
parent::addSaloon($saloon);
}
/**
* {@inheritDoc}
*/
public function removeSaloon(\App\Entity\Saloon\Saloon $saloon): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeSaloon', [$saloon]);
parent::removeSaloon($saloon);
}
/**
* {@inheritDoc}
*/
public function getPhoneReviewsAdded(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPhoneReviewsAdded', []);
return parent::getPhoneReviewsAdded();
}
/**
* {@inheritDoc}
*/
public function __toString(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);
return parent::__toString();
}
/**
* {@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): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmail', [$email]);
parent::setEmail($email);
}
/**
* {@inheritDoc}
*/
public function getNickName(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNickName', []);
return parent::getNickName();
}
/**
* {@inheritDoc}
*/
public function setNickName(string $nickName): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNickName', [$nickName]);
parent::setNickName($nickName);
}
/**
* {@inheritDoc}
*/
public function getCountry(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCountry', []);
return parent::getCountry();
}
/**
* {@inheritDoc}
*/
public function setCountry($country): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCountry', [$country]);
parent::setCountry($country);
}
/**
* {@inheritDoc}
*/
public function getCity(): ?\App\Entity\Location\City
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCity', []);
return parent::getCity();
}
/**
* {@inheritDoc}
*/
public function setCity(\App\Entity\Location\City $city): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCity', [$city]);
parent::setCity($city);
}
/**
* {@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 getPassword(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPassword', []);
return parent::getPassword();
}
/**
* {@inheritDoc}
*/
public function setPassword(string $password): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPassword', [$password]);
parent::setPassword($password);
}
/**
* {@inheritDoc}
*/
public function getPlainPassword(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPlainPassword', []);
return parent::getPlainPassword();
}
/**
* {@inheritDoc}
*/
public function setPlainPassword(string $plainPassword): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPlainPassword', [$plainPassword]);
parent::setPlainPassword($plainPassword);
}
/**
* {@inheritDoc}
*/
public function getConfirmationCode(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getConfirmationCode', []);
return parent::getConfirmationCode();
}
/**
* {@inheritDoc}
*/
public function setConfirmationCode(string $confirmationCode): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setConfirmationCode', [$confirmationCode]);
parent::setConfirmationCode($confirmationCode);
}
/**
* {@inheritDoc}
*/
public function getSmscCode(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSmscCode', []);
return parent::getSmscCode();
}
/**
* {@inheritDoc}
*/
public function setSmscCode(string $smscCode): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSmscCode', [$smscCode]);
parent::setSmscCode($smscCode);
}
/**
* {@inheritDoc}
*/
public function isEnabled(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isEnabled', []);
return parent::isEnabled();
}
/**
* {@inheritDoc}
*/
public function setEnabled(bool $enabled): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEnabled', [$enabled]);
parent::setEnabled($enabled);
}
/**
* {@inheritDoc}
*/
public function isTrusted(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isTrusted', []);
return parent::isTrusted();
}
/**
* {@inheritDoc}
*/
public function setTrusted(bool $trusted): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTrusted', [$trusted]);
parent::setTrusted($trusted);
}
/**
* {@inheritDoc}
*/
public function isFullRegistered(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isFullRegistered', []);
return parent::isFullRegistered();
}
/**
* {@inheritDoc}
*/
public function setFullRegistered(bool $fullRegistered): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFullRegistered', [$fullRegistered]);
parent::setFullRegistered($fullRegistered);
}
/**
* {@inheritDoc}
*/
public function enroll(\Money\Money $toEnroll): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'enroll', [$toEnroll]);
parent::enroll($toEnroll);
}
/**
* {@inheritDoc}
*/
public function charge(\Money\Money $toCharge, bool $withOverdraft = false): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'charge', [$toCharge, $withOverdraft]);
parent::charge($toCharge, $withOverdraft);
}
/**
* {@inheritDoc}
*/
public function getCurrentBalance(): \Money\Money
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCurrentBalance', []);
return parent::getCurrentBalance();
}
/**
* {@inheritDoc}
*/
public function getCurrencyCode(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCurrencyCode', []);
return parent::getCurrencyCode();
}
/**
* {@inheritDoc}
*/
public function resolveCurrency(\App\Service\CountryCurrencyResolver $currencyResolver): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'resolveCurrency', [$currencyResolver]);
parent::resolveCurrency($currencyResolver);
}
/**
* {@inheritDoc}
*/
public function getEnrollments(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEnrollments', []);
return parent::getEnrollments();
}
/**
* {@inheritDoc}
*/
public function getCharges(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCharges', []);
return parent::getCharges();
}
/**
* {@inheritDoc}
*/
public function getTransactions(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTransactions', []);
return parent::getTransactions();
}
/**
* {@inheritDoc}
*/
public function getSalt(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSalt', []);
parent::getSalt();
}
/**
* {@inheritDoc}
*/
public function eraseCredentials(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'eraseCredentials', []);
parent::eraseCredentials();
}
/**
* {@inheritDoc}
*/
public function getCreated(): \DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []);
return parent::getCreated();
}
/**
* {@inheritDoc}
*/
public function serialize()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'serialize', []);
return parent::serialize();
}
/**
* {@inheritDoc}
*/
public function unserialize($serialized): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'unserialize', [$serialized]);
parent::unserialize($serialized);
}
/**
* {@inheritDoc}
*/
public function getNotes(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNotes', []);
return parent::getNotes();
}
/**
* {@inheritDoc}
*/
public function setNotes(?string $notes): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNotes', [$notes]);
parent::setNotes($notes);
}
/**
* {@inheritDoc}
*/
public function isBanned(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isBanned', []);
return parent::isBanned();
}
/**
* {@inheritDoc}
*/
public function getBan(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBan', []);
return parent::getBan();
}
/**
* {@inheritDoc}
*/
public function setBan(?string $ban): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setBan', [$ban]);
parent::setBan($ban);
}
/**
* {@inheritDoc}
*/
public function isLowBalanceNotified(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isLowBalanceNotified', []);
return parent::isLowBalanceNotified();
}
/**
* {@inheritDoc}
*/
public function setLowBalanceNotified(?\DateTimeInterface $dateTime): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLowBalanceNotified', [$dateTime]);
parent::setLowBalanceNotified($dateTime);
}
/**
* {@inheritDoc}
*/
public function getAvatar(): ?\App\Entity\Account\Avatar
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAvatar', []);
return parent::getAvatar();
}
/**
* {@inheritDoc}
*/
public function setAvatar(string $path): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAvatar', [$path]);
parent::setAvatar($path);
}
/**
* {@inheritDoc}
*/
public function getPostRegistrationStep(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPostRegistrationStep', []);
return parent::getPostRegistrationStep();
}
/**
* {@inheritDoc}
*/
public function setPostRegistrationStep(int $postRegistrationStep): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPostRegistrationStep', [$postRegistrationStep]);
parent::setPostRegistrationStep($postRegistrationStep);
}
/**
* {@inheritDoc}
*/
public function offerBarHidden(): ?\App\Entity\OfferBarHidden
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offerBarHidden', []);
return parent::offerBarHidden();
}
/**
* {@inheritDoc}
*/
public function setOfferBarHidden(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setOfferBarHidden', []);
parent::setOfferBarHidden();
}
}