<?php
namespace Proxies\__CG__\App\Entity\Slave;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Client extends \App\Entity\Slave\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', 'code', 'name', 'nickname', 'referent', 'fiscalCode', 'vat', 'sdi', 'address', 'locality', 'zip', 'idCity', 'idProvince', 'closures', 'openings', 'notes', 'directoryPath', '' . "\0" . 'App\\Entity\\Slave\\Client' . "\0" . 'warehouse', '' . "\0" . 'App\\Entity\\Slave\\Client' . "\0" . 'termids', '' . "\0" . 'App\\Entity\\Slave\\Client' . "\0" . 'tickets', '' . "\0" . 'App\\Entity\\Slave\\Client' . "\0" . 'phones', '' . "\0" . 'App\\Entity\\Slave\\Client' . "\0" . 'files'];
}
return ['__isInitialized__', 'id', 'code', 'name', 'nickname', 'referent', 'fiscalCode', 'vat', 'sdi', 'address', 'locality', 'zip', 'idCity', 'idProvince', 'closures', 'openings', 'notes', 'directoryPath', '' . "\0" . 'App\\Entity\\Slave\\Client' . "\0" . 'warehouse', '' . "\0" . 'App\\Entity\\Slave\\Client' . "\0" . 'termids', '' . "\0" . 'App\\Entity\\Slave\\Client' . "\0" . 'tickets', '' . "\0" . 'App\\Entity\\Slave\\Client' . "\0" . 'phones', '' . "\0" . 'App\\Entity\\Slave\\Client' . "\0" . 'files'];
}
/**
*
*/
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(): 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 canDelete()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'canDelete', []);
return parent::canDelete();
}
/**
* {@inheritDoc}
*/
public function getPhoneByName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPhoneByName', [$name]);
return parent::getPhoneByName($name);
}
/**
* {@inheritDoc}
*/
public function displayPhones()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'displayPhones', []);
return parent::displayPhones();
}
/**
* {@inheritDoc}
*/
public function displayTermids($type)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'displayTermids', [$type]);
return parent::displayTermids($type);
}
/**
* {@inheritDoc}
*/
public function getId(): ?string
{
if ($this->__isInitialized__ === false) {
return parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function getCode(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCode', []);
return parent::getCode();
}
/**
* {@inheritDoc}
*/
public function setCode(?string $code): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCode', [$code]);
return parent::setCode($code);
}
/**
* {@inheritDoc}
*/
public function getName(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setName(?string $name): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getNickname(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNickname', []);
return parent::getNickname();
}
/**
* {@inheritDoc}
*/
public function setNickname(?string $nickname): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNickname', [$nickname]);
return parent::setNickname($nickname);
}
/**
* {@inheritDoc}
*/
public function getReferent(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getReferent', []);
return parent::getReferent();
}
/**
* {@inheritDoc}
*/
public function setReferent(?string $referent): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setReferent', [$referent]);
return parent::setReferent($referent);
}
/**
* {@inheritDoc}
*/
public function getFiscalCode(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFiscalCode', []);
return parent::getFiscalCode();
}
/**
* {@inheritDoc}
*/
public function setFiscalCode(?string $fiscalCode): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFiscalCode', [$fiscalCode]);
return parent::setFiscalCode($fiscalCode);
}
/**
* {@inheritDoc}
*/
public function getVat(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getVat', []);
return parent::getVat();
}
/**
* {@inheritDoc}
*/
public function setVat(?string $vat): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setVat', [$vat]);
return parent::setVat($vat);
}
/**
* {@inheritDoc}
*/
public function getSdi(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSdi', []);
return parent::getSdi();
}
/**
* {@inheritDoc}
*/
public function setSdi(?string $sdi): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSdi', [$sdi]);
return parent::setSdi($sdi);
}
/**
* {@inheritDoc}
*/
public function getAddress(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAddress', []);
return parent::getAddress();
}
/**
* {@inheritDoc}
*/
public function setAddress(?string $address): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAddress', [$address]);
return parent::setAddress($address);
}
/**
* {@inheritDoc}
*/
public function getLocality(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLocality', []);
return parent::getLocality();
}
/**
* {@inheritDoc}
*/
public function setLocality(?string $locality): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLocality', [$locality]);
return parent::setLocality($locality);
}
/**
* {@inheritDoc}
*/
public function getZip(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getZip', []);
return parent::getZip();
}
/**
* {@inheritDoc}
*/
public function setZip(?string $zip): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setZip', [$zip]);
return parent::setZip($zip);
}
/**
* {@inheritDoc}
*/
public function getIdCity(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdCity', []);
return parent::getIdCity();
}
/**
* {@inheritDoc}
*/
public function setIdCity(?string $idCity): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdCity', [$idCity]);
return parent::setIdCity($idCity);
}
/**
* {@inheritDoc}
*/
public function getIdProvince(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdProvince', []);
return parent::getIdProvince();
}
/**
* {@inheritDoc}
*/
public function setIdProvince(?string $idProvince): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdProvince', [$idProvince]);
return parent::setIdProvince($idProvince);
}
/**
* {@inheritDoc}
*/
public function getClosures(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getClosures', []);
return parent::getClosures();
}
/**
* {@inheritDoc}
*/
public function setClosures(?string $closures): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setClosures', [$closures]);
return parent::setClosures($closures);
}
/**
* {@inheritDoc}
*/
public function getOpenings(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOpenings', []);
return parent::getOpenings();
}
/**
* {@inheritDoc}
*/
public function setOpenings(?string $openings): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setOpenings', [$openings]);
return parent::setOpenings($openings);
}
/**
* {@inheritDoc}
*/
public function getNotes(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNotes', []);
return parent::getNotes();
}
/**
* {@inheritDoc}
*/
public function setNotes(?string $notes): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNotes', [$notes]);
return parent::setNotes($notes);
}
/**
* {@inheritDoc}
*/
public function getWarehouse(): ?\App\Entity\Slave\Warehouse
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getWarehouse', []);
return parent::getWarehouse();
}
/**
* {@inheritDoc}
*/
public function setWarehouse(?\App\Entity\Slave\Warehouse $warehouse): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setWarehouse', [$warehouse]);
return parent::setWarehouse($warehouse);
}
/**
* {@inheritDoc}
*/
public function getTermids(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTermids', []);
return parent::getTermids();
}
/**
* {@inheritDoc}
*/
public function addTermid(\App\Entity\Slave\Termid $termid): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addTermid', [$termid]);
return parent::addTermid($termid);
}
/**
* {@inheritDoc}
*/
public function removeTermid(\App\Entity\Slave\Termid $termid): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeTermid', [$termid]);
return parent::removeTermid($termid);
}
/**
* {@inheritDoc}
*/
public function getTickets(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTickets', []);
return parent::getTickets();
}
/**
* {@inheritDoc}
*/
public function addTicket(\App\Entity\Slave\Ticket $ticket): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addTicket', [$ticket]);
return parent::addTicket($ticket);
}
/**
* {@inheritDoc}
*/
public function removeTicket(\App\Entity\Slave\Ticket $ticket): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeTicket', [$ticket]);
return parent::removeTicket($ticket);
}
/**
* {@inheritDoc}
*/
public function getPhones(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPhones', []);
return parent::getPhones();
}
/**
* {@inheritDoc}
*/
public function addPhone(\App\Entity\Slave\ClientPhone $phone): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addPhone', [$phone]);
return parent::addPhone($phone);
}
/**
* {@inheritDoc}
*/
public function removePhone(\App\Entity\Slave\ClientPhone $phone): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removePhone', [$phone]);
return parent::removePhone($phone);
}
/**
* {@inheritDoc}
*/
public function getDirectoryPath(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDirectoryPath', []);
return parent::getDirectoryPath();
}
/**
* {@inheritDoc}
*/
public function setDirectoryPath(?string $directoryPath): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDirectoryPath', [$directoryPath]);
return parent::setDirectoryPath($directoryPath);
}
/**
* {@inheritDoc}
*/
public function getFiles(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFiles', []);
return parent::getFiles();
}
/**
* {@inheritDoc}
*/
public function addFile(\App\Entity\Slave\ClientFile $file): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addFile', [$file]);
return parent::addFile($file);
}
/**
* {@inheritDoc}
*/
public function removeFile(\App\Entity\Slave\ClientFile $file): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeFile', [$file]);
return parent::removeFile($file);
}
}