<?php
namespace Proxies\__CG__\App\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Client extends \App\Entity\Client 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', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'phone', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'password', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'userNumber', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'firstName', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'lastName', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'middleName', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'dateOfBirth', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'passportNumber', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'passportId', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'passportIssueDate', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'passportIssuingAuthority', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'registrationAddress', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'driversLicenseNumber', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'driversLicenseDate', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'dateSigningContract', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'reserves', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'notes', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'admin', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'createdAt'];
}
return ['__isInitialized__', 'id', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'phone', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'password', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'userNumber', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'firstName', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'lastName', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'middleName', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'dateOfBirth', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'passportNumber', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'passportId', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'passportIssueDate', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'passportIssuingAuthority', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'registrationAddress', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'driversLicenseNumber', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'driversLicenseDate', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'dateSigningContract', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'reserves', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'notes', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'admin', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'createdAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Client $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getUserNumber(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserNumber', []);
return parent::getUserNumber();
}
/**
* {@inheritDoc}
*/
public function setUserNumber(?string $userNumber): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUserNumber', [$userNumber]);
parent::setUserNumber($userNumber);
}
/**
* {@inheritDoc}
*/
public function getPhone(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPhone', []);
return parent::getPhone();
}
/**
* {@inheritDoc}
*/
public function setPhone(?string $phone): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPhone', [$phone]);
parent::setPhone($phone);
}
/**
* {@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 getFirstName(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFirstName', []);
return parent::getFirstName();
}
/**
* {@inheritDoc}
*/
public function setFirstName(?string $firstName): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFirstName', [$firstName]);
parent::setFirstName($firstName);
}
/**
* {@inheritDoc}
*/
public function getLastName(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastName', []);
return parent::getLastName();
}
/**
* {@inheritDoc}
*/
public function setLastName(?string $lastName): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastName', [$lastName]);
parent::setLastName($lastName);
}
/**
* {@inheritDoc}
*/
public function getMiddleName(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMiddleName', []);
return parent::getMiddleName();
}
/**
* {@inheritDoc}
*/
public function setMiddleName(?string $middleName): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMiddleName', [$middleName]);
parent::setMiddleName($middleName);
}
/**
* {@inheritDoc}
*/
public function getReserves(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getReserves', []);
return parent::getReserves();
}
/**
* {@inheritDoc}
*/
public function setReserves(\Doctrine\Common\Collections\Collection $reserves): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setReserves', [$reserves]);
parent::setReserves($reserves);
}
/**
* {@inheritDoc}
*/
public function __toString(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);
return parent::__toString();
}
/**
* {@inheritDoc}
*/
public function getFio(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFio', []);
return parent::getFio();
}
/**
* {@inheritDoc}
*/
public function getPassportIssueDate(): ?\DateTime
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPassportIssueDate', []);
return parent::getPassportIssueDate();
}
/**
* {@inheritDoc}
*/
public function setPassportIssueDate(?\DateTime $passportIssueDate): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPassportIssueDate', [$passportIssueDate]);
parent::setPassportIssueDate($passportIssueDate);
}
/**
* {@inheritDoc}
*/
public function getDriversLicenseDate(): ?\DateTime
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDriversLicenseDate', []);
return parent::getDriversLicenseDate();
}
/**
* {@inheritDoc}
*/
public function setDriversLicenseDate(?\DateTime $driversLicenseDate): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDriversLicenseDate', [$driversLicenseDate]);
parent::setDriversLicenseDate($driversLicenseDate);
}
/**
* {@inheritDoc}
*/
public function getPassportNumber(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPassportNumber', []);
return parent::getPassportNumber();
}
/**
* {@inheritDoc}
*/
public function setPassportNumber(?string $passportNumber): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPassportNumber', [$passportNumber]);
parent::setPassportNumber($passportNumber);
}
/**
* {@inheritDoc}
*/
public function getPassportId(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPassportId', []);
return parent::getPassportId();
}
/**
* {@inheritDoc}
*/
public function setPassportId(?string $passportId): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPassportId', [$passportId]);
parent::setPassportId($passportId);
}
/**
* {@inheritDoc}
*/
public function getDateSigningContract(): ?\DateTime
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateSigningContract', []);
return parent::getDateSigningContract();
}
/**
* {@inheritDoc}
*/
public function setDateSigningContract(?\DateTime $dateSigningContract): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateSigningContract', [$dateSigningContract]);
parent::setDateSigningContract($dateSigningContract);
}
/**
* {@inheritDoc}
*/
public function getPassportIssuingAuthority(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPassportIssuingAuthority', []);
return parent::getPassportIssuingAuthority();
}
/**
* {@inheritDoc}
*/
public function setPassportIssuingAuthority(?string $passportIssuingAuthority): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPassportIssuingAuthority', [$passportIssuingAuthority]);
parent::setPassportIssuingAuthority($passportIssuingAuthority);
}
/**
* {@inheritDoc}
*/
public function getRegistrationAddress(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRegistrationAddress', []);
return parent::getRegistrationAddress();
}
/**
* {@inheritDoc}
*/
public function setRegistrationAddress(?string $registrationAddress): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setRegistrationAddress', [$registrationAddress]);
parent::setRegistrationAddress($registrationAddress);
}
/**
* {@inheritDoc}
*/
public function getDriversLicenseNumber(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDriversLicenseNumber', []);
return parent::getDriversLicenseNumber();
}
/**
* {@inheritDoc}
*/
public function setDriversLicenseNumber(?string $driversLicenseNumber): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDriversLicenseNumber', [$driversLicenseNumber]);
parent::setDriversLicenseNumber($driversLicenseNumber);
}
/**
* {@inheritDoc}
*/
public function getDateOfBirth(): ?\DateTime
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateOfBirth', []);
return parent::getDateOfBirth();
}
/**
* {@inheritDoc}
*/
public function setDateOfBirth(?\DateTime $dateOfBirth): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateOfBirth', [$dateOfBirth]);
parent::setDateOfBirth($dateOfBirth);
}
/**
* {@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 getNotes(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNotes', []);
return parent::getNotes();
}
/**
* {@inheritDoc}
*/
public function setNotes(?string $notes): \App\Entity\Client
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNotes', [$notes]);
return parent::setNotes($notes);
}
/**
* {@inheritDoc}
*/
public function getAdmin(): ?\App\Entity\AdmUser
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAdmin', []);
return parent::getAdmin();
}
/**
* {@inheritDoc}
*/
public function setAdmin(?\App\Entity\AdmUser $admin): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAdmin', [$admin]);
parent::setAdmin($admin);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): \DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
}