<?php
namespace Proxies\__CG__\App\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Hospital extends \App\Entity\Hospital 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\\Hospital' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'hNum', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'regNum', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'abhaNum', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'regDate', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'abhaDate', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'hip_id', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'hip_name', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'hiu_id', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'hiu_name', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'name', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'type', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'level', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'code', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'isActive', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'district', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'taluka', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'village', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'address', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'pincode', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'phone', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'email', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'latitude', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'longitude', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'createdAt', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'hNum', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'regNum', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'abhaNum', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'regDate', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'abhaDate', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'hip_id', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'hip_name', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'hiu_id', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'hiu_name', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'name', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'type', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'level', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'code', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'isActive', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'district', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'taluka', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'village', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'address', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'pincode', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'phone', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'email', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'latitude', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'longitude', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'createdAt', '' . "\0" . 'App\\Entity\\Hospital' . "\0" . 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Hospital $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 getId(): ?int
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function getHNum(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getHNum', []);
return parent::getHNum();
}
/**
* {@inheritDoc}
*/
public function setHNum(string $hNum): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setHNum', [$hNum]);
return parent::setHNum($hNum);
}
/**
* {@inheritDoc}
*/
public function getRegNum(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRegNum', []);
return parent::getRegNum();
}
/**
* {@inheritDoc}
*/
public function setRegNum(string $regNum): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setRegNum', [$regNum]);
return parent::setRegNum($regNum);
}
/**
* {@inheritDoc}
*/
public function getAbhaNum(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAbhaNum', []);
return parent::getAbhaNum();
}
/**
* {@inheritDoc}
*/
public function setAbhaNum(string $abhaNum): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAbhaNum', [$abhaNum]);
return parent::setAbhaNum($abhaNum);
}
/**
* {@inheritDoc}
*/
public function getRegDate(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRegDate', []);
return parent::getRegDate();
}
/**
* {@inheritDoc}
*/
public function setRegDate(?\DateTimeInterface $regDate): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setRegDate', [$regDate]);
return parent::setRegDate($regDate);
}
/**
* {@inheritDoc}
*/
public function getAbhaDate(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAbhaDate', []);
return parent::getAbhaDate();
}
/**
* {@inheritDoc}
*/
public function setAbhaDate(?\DateTimeInterface $abhaDate): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAbhaDate', [$abhaDate]);
return parent::setAbhaDate($abhaDate);
}
/**
* {@inheritDoc}
*/
public function getName(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setName(string $name): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getType(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getType', []);
return parent::getType();
}
/**
* {@inheritDoc}
*/
public function setType(string $type): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setType', [$type]);
return parent::setType($type);
}
/**
* {@inheritDoc}
*/
public function getLevel(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLevel', []);
return parent::getLevel();
}
/**
* {@inheritDoc}
*/
public function setLevel(int $level): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLevel', [$level]);
return parent::setLevel($level);
}
/**
* {@inheritDoc}
*/
public function getCode(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCode', []);
return parent::getCode();
}
/**
* {@inheritDoc}
*/
public function setCode(string $code): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCode', [$code]);
return parent::setCode($code);
}
/**
* {@inheritDoc}
*/
public function getIsActive(): ?bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsActive', []);
return parent::getIsActive();
}
/**
* {@inheritDoc}
*/
public function setIsActive(bool $isActive): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsActive', [$isActive]);
return parent::setIsActive($isActive);
}
/**
* {@inheritDoc}
*/
public function getDistrict(): ?\App\Entity\District
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDistrict', []);
return parent::getDistrict();
}
/**
* {@inheritDoc}
*/
public function setDistrict(?\App\Entity\District $district): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDistrict', [$district]);
return parent::setDistrict($district);
}
/**
* {@inheritDoc}
*/
public function getTaluka(): ?\App\Entity\Taluka
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTaluka', []);
return parent::getTaluka();
}
/**
* {@inheritDoc}
*/
public function setTaluka(?\App\Entity\Taluka $taluka): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTaluka', [$taluka]);
return parent::setTaluka($taluka);
}
/**
* {@inheritDoc}
*/
public function getVillage(): ?\App\Entity\Village
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getVillage', []);
return parent::getVillage();
}
/**
* {@inheritDoc}
*/
public function setVillage(\App\Entity\Village $village): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setVillage', [$village]);
return parent::setVillage($village);
}
/**
* {@inheritDoc}
*/
public function getAddress(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAddress', []);
return parent::getAddress();
}
/**
* {@inheritDoc}
*/
public function setAddress(?string $address): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAddress', [$address]);
return parent::setAddress($address);
}
/**
* {@inheritDoc}
*/
public function getPincode(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPincode', []);
return parent::getPincode();
}
/**
* {@inheritDoc}
*/
public function setPincode(?string $pincode): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPincode', [$pincode]);
return parent::setPincode($pincode);
}
/**
* {@inheritDoc}
*/
public function getPhone(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPhone', []);
return parent::getPhone();
}
/**
* {@inheritDoc}
*/
public function setPhone(string $phone): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPhone', [$phone]);
return parent::setPhone($phone);
}
/**
* {@inheritDoc}
*/
public function getEmail(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmail', []);
return parent::getEmail();
}
/**
* {@inheritDoc}
*/
public function setEmail(?string $email): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmail', [$email]);
return parent::setEmail($email);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function __toString(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);
return parent::__toString();
}
/**
* {@inheritDoc}
*/
public function getLatitude(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLatitude', []);
return parent::getLatitude();
}
/**
* {@inheritDoc}
*/
public function setLatitude(string $latitude): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLatitude', [$latitude]);
return parent::setLatitude($latitude);
}
/**
* {@inheritDoc}
*/
public function getLongitude(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLongitude', []);
return parent::getLongitude();
}
/**
* {@inheritDoc}
*/
public function setLongitude(string $longitude): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLongitude', [$longitude]);
return parent::setLongitude($longitude);
}
/**
* {@inheritDoc}
*/
public function getHIPCode(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getHIPCode', []);
return parent::getHIPCode();
}
/**
* {@inheritDoc}
*/
public function setHIPCode(string $hip_id): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setHIPCode', [$hip_id]);
return parent::setHIPCode($hip_id);
}
/**
* {@inheritDoc}
*/
public function getHIUCode(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getHIUCode', []);
return parent::getHIUCode();
}
/**
* {@inheritDoc}
*/
public function setHIUCode(string $hiu_id): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setHIUCode', [$hiu_id]);
return parent::setHIUCode($hiu_id);
}
/**
* {@inheritDoc}
*/
public function setHIUName(string $hiu_name): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setHIUName', [$hiu_name]);
return parent::setHIUName($hiu_name);
}
/**
* {@inheritDoc}
*/
public function getHIUName(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getHIUName', []);
return parent::getHIUName();
}
/**
* {@inheritDoc}
*/
public function getHIPName(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getHIPName', []);
return parent::getHIPName();
}
/**
* {@inheritDoc}
*/
public function setHIPName(string $hip_name): \App\Entity\Hospital
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setHIPName', [$hip_name]);
return parent::setHIPName($hip_name);
}
}