<?php

namespace Proxies\__CG__\App\Entity;

/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class TCountyStaffMembers extends \App\Entity\TCountyStaffMembers 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\\TCountyStaffMembers' . "\0" . 'id', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'firstName', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'middleName', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'lastName', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'idNumber', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'status', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'staffSalutation', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'position', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'tGovernors', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'tCos', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'tCecs', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'tCountySecretaries', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'tAppraisals', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'tDirectors', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'profilePhoto', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'tMilestonesNotes', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'tPcActivities'];
        }

        return ['__isInitialized__', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'id', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'firstName', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'middleName', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'lastName', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'idNumber', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'status', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'staffSalutation', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'position', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'tGovernors', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'tCos', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'tCecs', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'tCountySecretaries', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'tAppraisals', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'tDirectors', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'profilePhoto', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'tMilestonesNotes', '' . "\0" . 'App\\Entity\\TCountyStaffMembers' . "\0" . 'tPcActivities'];
    }

    /**
     * 
     */
    public function __wakeup()
    {
        if ( ! $this->__isInitialized__) {
            $this->__initializer__ = function (TCountyStaffMembers $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 getId(): ?int
    {
        if ($this->__isInitialized__ === false) {
            return (int)  parent::getId();
        }


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

        return parent::getId();
    }

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

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

        return parent::getFirstName();
    }

    /**
     * {@inheritDoc}
     */
    public function setFirstName(?string $firstName): \App\Entity\TCountyStaffMembers
    {

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

        return parent::setFirstName($firstName);
    }

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

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

        return parent::getMiddleName();
    }

    /**
     * {@inheritDoc}
     */
    public function setMiddleName(?string $middleName): \App\Entity\TCountyStaffMembers
    {

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

        return parent::setMiddleName($middleName);
    }

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

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

        return parent::getLastName();
    }

    /**
     * {@inheritDoc}
     */
    public function setLastName(?string $lastName): \App\Entity\TCountyStaffMembers
    {

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

        return parent::setLastName($lastName);
    }

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

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

        return parent::getIdNumber();
    }

    /**
     * {@inheritDoc}
     */
    public function setIdNumber(?string $idNumber): \App\Entity\TCountyStaffMembers
    {

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

        return parent::setIdNumber($idNumber);
    }

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

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

        return parent::getStatus();
    }

    /**
     * {@inheritDoc}
     */
    public function setStatus(?string $status): \App\Entity\TCountyStaffMembers
    {

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

        return parent::setStatus($status);
    }

    /**
     * {@inheritDoc}
     */
    public function getStaffSalutation(): ?\App\Entity\TStaffSalutations
    {

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

        return parent::getStaffSalutation();
    }

    /**
     * {@inheritDoc}
     */
    public function setStaffSalutation(?\App\Entity\TStaffSalutations $staffSalutation): \App\Entity\TCountyStaffMembers
    {

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

        return parent::setStaffSalutation($staffSalutation);
    }

    /**
     * {@inheritDoc}
     */
    public function getPosition(): ?\App\Entity\TPositions
    {

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

        return parent::getPosition();
    }

    /**
     * {@inheritDoc}
     */
    public function setPosition(?\App\Entity\TPositions $position): \App\Entity\TCountyStaffMembers
    {

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

        return parent::setPosition($position);
    }

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

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

        return parent::getTGovernors();
    }

    /**
     * {@inheritDoc}
     */
    public function addTGovernor(\App\Entity\TGovernors $tGovernor): \App\Entity\TCountyStaffMembers
    {

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

        return parent::addTGovernor($tGovernor);
    }

    /**
     * {@inheritDoc}
     */
    public function removeTGovernor(\App\Entity\TGovernors $tGovernor): \App\Entity\TCountyStaffMembers
    {

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

        return parent::removeTGovernor($tGovernor);
    }

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

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

        return parent::getTCos();
    }

    /**
     * {@inheritDoc}
     */
    public function addTCo(\App\Entity\TCos $tCo): \App\Entity\TCountyStaffMembers
    {

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

        return parent::addTCo($tCo);
    }

    /**
     * {@inheritDoc}
     */
    public function removeTCo(\App\Entity\TCos $tCo): \App\Entity\TCountyStaffMembers
    {

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

        return parent::removeTCo($tCo);
    }

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

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

        return parent::getTCecs();
    }

    /**
     * {@inheritDoc}
     */
    public function addTCec(\App\Entity\TCecs $tCec): \App\Entity\TCountyStaffMembers
    {

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

        return parent::addTCec($tCec);
    }

    /**
     * {@inheritDoc}
     */
    public function removeTCec(\App\Entity\TCecs $tCec): \App\Entity\TCountyStaffMembers
    {

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

        return parent::removeTCec($tCec);
    }

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

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

        return parent::getTCountySecretaries();
    }

    /**
     * {@inheritDoc}
     */
    public function addTCountySecretary(\App\Entity\TCountySecretary $tCountySecretary): \App\Entity\TCountyStaffMembers
    {

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

        return parent::addTCountySecretary($tCountySecretary);
    }

    /**
     * {@inheritDoc}
     */
    public function removeTCountySecretary(\App\Entity\TCountySecretary $tCountySecretary): \App\Entity\TCountyStaffMembers
    {

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

        return parent::removeTCountySecretary($tCountySecretary);
    }

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

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

        return parent::getTAppraisals();
    }

    /**
     * {@inheritDoc}
     */
    public function addTAppraisal(\App\Entity\TAppraisals $tAppraisal): \App\Entity\TCountyStaffMembers
    {

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

        return parent::addTAppraisal($tAppraisal);
    }

    /**
     * {@inheritDoc}
     */
    public function removeTAppraisal(\App\Entity\TAppraisals $tAppraisal): \App\Entity\TCountyStaffMembers
    {

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

        return parent::removeTAppraisal($tAppraisal);
    }

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

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

        return parent::getTDirectors();
    }

    /**
     * {@inheritDoc}
     */
    public function addTDirector(\App\Entity\TDirectors $tDirector): \App\Entity\TCountyStaffMembers
    {

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

        return parent::addTDirector($tDirector);
    }

    /**
     * {@inheritDoc}
     */
    public function removeTDirector(\App\Entity\TDirectors $tDirector): \App\Entity\TCountyStaffMembers
    {

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

        return parent::removeTDirector($tDirector);
    }

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

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

        return parent::getProfilePhoto();
    }

    /**
     * {@inheritDoc}
     */
    public function setProfilePhoto(?string $profilePhoto): \App\Entity\TCountyStaffMembers
    {

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

        return parent::setProfilePhoto($profilePhoto);
    }

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

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

        return parent::getTMilestonesNotes();
    }

    /**
     * {@inheritDoc}
     */
    public function addTMilestonesNote(\App\Entity\TMilestonesNotes $tMilestonesNote): \App\Entity\TCountyStaffMembers
    {

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

        return parent::addTMilestonesNote($tMilestonesNote);
    }

    /**
     * {@inheritDoc}
     */
    public function removeTMilestonesNote(\App\Entity\TMilestonesNotes $tMilestonesNote): \App\Entity\TCountyStaffMembers
    {

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

        return parent::removeTMilestonesNote($tMilestonesNote);
    }

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

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

        return parent::getTPcActivities();
    }

    /**
     * {@inheritDoc}
     */
    public function addTPcActivity(\App\Entity\TPcActivities $tPcActivity): \App\Entity\TCountyStaffMembers
    {

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

        return parent::addTPcActivity($tPcActivity);
    }

    /**
     * {@inheritDoc}
     */
    public function removeTPcActivity(\App\Entity\TPcActivities $tPcActivity): \App\Entity\TCountyStaffMembers
    {

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

        return parent::removeTPcActivity($tPcActivity);
    }

}
