<?php
namespace Proxies\__CG__\App\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Especialidad extends \App\Entity\Especialidad 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\\Especialidad' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'nombre', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'estado', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'ip_crea', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'ip_modifica', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'user_crea', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'user_modifica', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'created_at', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'updated_at', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'agendas', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'logAgendas', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'users', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'dependencia'];
}
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'nombre', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'estado', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'ip_crea', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'ip_modifica', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'user_crea', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'user_modifica', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'created_at', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'updated_at', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'agendas', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'logAgendas', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'users', '' . "\0" . 'App\\Entity\\Especialidad' . "\0" . 'dependencia'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Especialidad $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 getNombre(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNombre', []);
return parent::getNombre();
}
/**
* {@inheritDoc}
*/
public function setNombre(string $nombre): \App\Entity\Especialidad
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNombre', [$nombre]);
return parent::setNombre($nombre);
}
/**
* {@inheritDoc}
*/
public function getEstado(): ?bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEstado', []);
return parent::getEstado();
}
/**
* {@inheritDoc}
*/
public function setEstado(bool $estado): \App\Entity\Especialidad
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEstado', [$estado]);
return parent::setEstado($estado);
}
/**
* {@inheritDoc}
*/
public function getIpCrea(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIpCrea', []);
return parent::getIpCrea();
}
/**
* {@inheritDoc}
*/
public function setIpCrea(string $ip_crea): \App\Entity\Especialidad
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIpCrea', [$ip_crea]);
return parent::setIpCrea($ip_crea);
}
/**
* {@inheritDoc}
*/
public function getIpModifica(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIpModifica', []);
return parent::getIpModifica();
}
/**
* {@inheritDoc}
*/
public function setIpModifica(string $ip_modifica): \App\Entity\Especialidad
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIpModifica', [$ip_modifica]);
return parent::setIpModifica($ip_modifica);
}
/**
* {@inheritDoc}
*/
public function getUserCrea(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserCrea', []);
return parent::getUserCrea();
}
/**
* {@inheritDoc}
*/
public function setUserCrea(int $user_crea): \App\Entity\Especialidad
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUserCrea', [$user_crea]);
return parent::setUserCrea($user_crea);
}
/**
* {@inheritDoc}
*/
public function getUserModifica(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserModifica', []);
return parent::getUserModifica();
}
/**
* {@inheritDoc}
*/
public function setUserModifica(int $user_modifica): \App\Entity\Especialidad
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUserModifica', [$user_modifica]);
return parent::setUserModifica($user_modifica);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $created_at): \App\Entity\Especialidad
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$created_at]);
return parent::setCreatedAt($created_at);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updated_at): \App\Entity\Especialidad
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updated_at]);
return parent::setUpdatedAt($updated_at);
}
/**
* {@inheritDoc}
*/
public function getAgendas(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAgendas', []);
return parent::getAgendas();
}
/**
* {@inheritDoc}
*/
public function addAgenda(\App\Entity\Agenda $agenda): \App\Entity\Especialidad
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addAgenda', [$agenda]);
return parent::addAgenda($agenda);
}
/**
* {@inheritDoc}
*/
public function removeAgenda(\App\Entity\Agenda $agenda): \App\Entity\Especialidad
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeAgenda', [$agenda]);
return parent::removeAgenda($agenda);
}
/**
* {@inheritDoc}
*/
public function getLogAgendas(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLogAgendas', []);
return parent::getLogAgendas();
}
/**
* {@inheritDoc}
*/
public function addLogAgenda(\App\Entity\LogAgenda $logAgenda): \App\Entity\Especialidad
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addLogAgenda', [$logAgenda]);
return parent::addLogAgenda($logAgenda);
}
/**
* {@inheritDoc}
*/
public function removeLogAgenda(\App\Entity\LogAgenda $logAgenda): \App\Entity\Especialidad
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeLogAgenda', [$logAgenda]);
return parent::removeLogAgenda($logAgenda);
}
/**
* {@inheritDoc}
*/
public function getUsers(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUsers', []);
return parent::getUsers();
}
/**
* {@inheritDoc}
*/
public function addUser(\App\Entity\User $user): \App\Entity\Especialidad
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addUser', [$user]);
return parent::addUser($user);
}
/**
* {@inheritDoc}
*/
public function removeUser(\App\Entity\User $user): \App\Entity\Especialidad
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeUser', [$user]);
return parent::removeUser($user);
}
/**
* {@inheritDoc}
*/
public function __toString(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);
return parent::__toString();
}
/**
* {@inheritDoc}
*/
public function getDependencia(): ?\App\Entity\Dependencia
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDependencia', []);
return parent::getDependencia();
}
/**
* {@inheritDoc}
*/
public function setDependencia(?\App\Entity\Dependencia $dependencia): \App\Entity\Especialidad
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDependencia', [$dependencia]);
return parent::setDependencia($dependencia);
}
}