<?php

namespace Proxies\__CG__\App\Entity;

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class Rodic extends \App\Entity\Rodic 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\Common\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\\Rodic' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'jmeno', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'prijmeni', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'titul', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'ulice', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'obec', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'm_cast', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'stat', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'cis_pop', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'psc', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'telefon', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'email', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'zak', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'dat_nar', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'image'];
        }

        return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'jmeno', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'prijmeni', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'titul', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'ulice', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'obec', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'm_cast', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'stat', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'cis_pop', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'psc', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'telefon', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'email', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'zak', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'dat_nar', '' . "\0" . 'App\\Entity\\Rodic' . "\0" . 'image'];
    }

    /**
     * 
     */
    public function __wakeup()
    {
        if ( ! $this->__isInitialized__) {
            $this->__initializer__ = function (Rodic $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 __toString()
    {

        $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 getJmeno(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getJmeno', []);

        return parent::getJmeno();
    }

    /**
     * {@inheritDoc}
     */
    public function setJmeno(string $jmeno): \App\Entity\Rodic
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setJmeno', [$jmeno]);

        return parent::setJmeno($jmeno);
    }

    /**
     * {@inheritDoc}
     */
    public function getPrijmeni(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPrijmeni', []);

        return parent::getPrijmeni();
    }

    /**
     * {@inheritDoc}
     */
    public function setPrijmeni(string $prijmeni): \App\Entity\Rodic
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPrijmeni', [$prijmeni]);

        return parent::setPrijmeni($prijmeni);
    }

    /**
     * {@inheritDoc}
     */
    public function getTitul(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTitul', []);

        return parent::getTitul();
    }

    /**
     * {@inheritDoc}
     */
    public function setTitul(?string $titul): \App\Entity\Rodic
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTitul', [$titul]);

        return parent::setTitul($titul);
    }

    /**
     * {@inheritDoc}
     */
    public function getUlice(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUlice', []);

        return parent::getUlice();
    }

    /**
     * {@inheritDoc}
     */
    public function setUlice(string $ulice): \App\Entity\Rodic
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUlice', [$ulice]);

        return parent::setUlice($ulice);
    }

    /**
     * {@inheritDoc}
     */
    public function getObec(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getObec', []);

        return parent::getObec();
    }

    /**
     * {@inheritDoc}
     */
    public function setObec(string $obec): \App\Entity\Rodic
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setObec', [$obec]);

        return parent::setObec($obec);
    }

    /**
     * {@inheritDoc}
     */
    public function getMCast(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMCast', []);

        return parent::getMCast();
    }

    /**
     * {@inheritDoc}
     */
    public function setMCast(string $m_cast): \App\Entity\Rodic
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setMCast', [$m_cast]);

        return parent::setMCast($m_cast);
    }

    /**
     * {@inheritDoc}
     */
    public function getStat(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStat', []);

        return parent::getStat();
    }

    /**
     * {@inheritDoc}
     */
    public function setStat(string $stat): \App\Entity\Rodic
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setStat', [$stat]);

        return parent::setStat($stat);
    }

    /**
     * {@inheritDoc}
     */
    public function getCisPop(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCisPop', []);

        return parent::getCisPop();
    }

    /**
     * {@inheritDoc}
     */
    public function setCisPop(string $cis_pop): \App\Entity\Rodic
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCisPop', [$cis_pop]);

        return parent::setCisPop($cis_pop);
    }

    /**
     * {@inheritDoc}
     */
    public function getPsc(): ?int
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPsc', []);

        return parent::getPsc();
    }

    /**
     * {@inheritDoc}
     */
    public function setPsc(int $psc): \App\Entity\Rodic
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPsc', [$psc]);

        return parent::setPsc($psc);
    }

    /**
     * {@inheritDoc}
     */
    public function getTelefon(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTelefon', []);

        return parent::getTelefon();
    }

    /**
     * {@inheritDoc}
     */
    public function setTelefon(?string $telefon): \App\Entity\Rodic
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTelefon', [$telefon]);

        return parent::setTelefon($telefon);
    }

    /**
     * {@inheritDoc}
     */
    public function getEmail(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmail', []);

        return parent::getEmail();
    }

    /**
     * {@inheritDoc}
     */
    public function setEmail(?string $email): \App\Entity\Rodic
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmail', [$email]);

        return parent::setEmail($email);
    }

    /**
     * {@inheritDoc}
     */
    public function getZak(): \Doctrine\Common\Collections\Collection
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getZak', []);

        return parent::getZak();
    }

    /**
     * {@inheritDoc}
     */
    public function addZak(\App\Entity\Zak $zak): \App\Entity\Rodic
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'addZak', [$zak]);

        return parent::addZak($zak);
    }

    /**
     * {@inheritDoc}
     */
    public function removeZak(\App\Entity\Zak $zak): \App\Entity\Rodic
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeZak', [$zak]);

        return parent::removeZak($zak);
    }

    /**
     * {@inheritDoc}
     */
    public function getDatNar(): ?\DateTimeInterface
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDatNar', []);

        return parent::getDatNar();
    }

    /**
     * {@inheritDoc}
     */
    public function setDatNar(?\DateTimeInterface $dat_nar): \App\Entity\Rodic
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDatNar', [$dat_nar]);

        return parent::setDatNar($dat_nar);
    }

    /**
     * {@inheritDoc}
     */
    public function getImage(): ?string
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'getImage', []);

        return parent::getImage();
    }

    /**
     * {@inheritDoc}
     */
    public function setImage(?string $image): \App\Entity\Rodic
    {

        $this->__initializer__ && $this->__initializer__->__invoke($this, 'setImage', [$image]);

        return parent::setImage($image);
    }

}
