<?php

namespace Proxies\__CG__\App\Entity;


/**
 * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
 */
class Rapport extends \App\Entity\Rapport 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\\Rapport' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'year', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'desagregation', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'modalite', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'type', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'resume', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'introduction', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'methodologie', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'performance_globale', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'difficultes', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'solutions', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'recommandations', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'conclusion'];
        }

        return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'year', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'desagregation', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'modalite', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'type', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'resume', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'introduction', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'methodologie', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'performance_globale', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'difficultes', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'solutions', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'recommandations', '' . "\0" . 'App\\Entity\\Rapport' . "\0" . 'conclusion'];
    }

    /**
     * 
     */
    public function __wakeup()
    {
        if ( ! $this->__isInitialized__) {
            $this->__initializer__ = function (Rapport $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 getYear(): ?\App\Entity\Year
    {

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

        return parent::getYear();
    }

    /**
     * {@inheritDoc}
     */
    public function setYear(?\App\Entity\Year $year): \App\Entity\Rapport
    {

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

        return parent::setYear($year);
    }

    /**
     * {@inheritDoc}
     */
    public function getDesagregation(): ?\App\Entity\Desagregation
    {

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

        return parent::getDesagregation();
    }

    /**
     * {@inheritDoc}
     */
    public function setDesagregation(?\App\Entity\Desagregation $desagregation): \App\Entity\Rapport
    {

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

        return parent::setDesagregation($desagregation);
    }

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

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

        return parent::getType();
    }

    /**
     * {@inheritDoc}
     */
    public function setType(string $type): \App\Entity\Rapport
    {

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

        return parent::setType($type);
    }

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

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

        return parent::getResume();
    }

    /**
     * {@inheritDoc}
     */
    public function setResume(?string $resume): \App\Entity\Rapport
    {

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

        return parent::setResume($resume);
    }

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

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

        return parent::getIntroduction();
    }

    /**
     * {@inheritDoc}
     */
    public function setIntroduction(?string $introduction): \App\Entity\Rapport
    {

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

        return parent::setIntroduction($introduction);
    }

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

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

        return parent::getMethodologie();
    }

    /**
     * {@inheritDoc}
     */
    public function setMethodologie(?string $methodologie): \App\Entity\Rapport
    {

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

        return parent::setMethodologie($methodologie);
    }

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

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

        return parent::getModalite();
    }

    /**
     * {@inheritDoc}
     */
    public function setModalite(?int $modalite): \App\Entity\Rapport
    {

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

        return parent::setModalite($modalite);
    }

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

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

        return parent::getPerformanceGlobale();
    }

    /**
     * {@inheritDoc}
     */
    public function setPerformanceGlobale(?string $performance_globale): \App\Entity\Rapport
    {

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

        return parent::setPerformanceGlobale($performance_globale);
    }

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

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

        return parent::getDifficultes();
    }

    /**
     * {@inheritDoc}
     */
    public function setDifficultes(?string $difficultes): \App\Entity\Rapport
    {

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

        return parent::setDifficultes($difficultes);
    }

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

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

        return parent::getSolutions();
    }

    /**
     * {@inheritDoc}
     */
    public function setSolutions(?string $solutions): \App\Entity\Rapport
    {

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

        return parent::setSolutions($solutions);
    }

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

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

        return parent::getRecommandations();
    }

    /**
     * {@inheritDoc}
     */
    public function setRecommandations(?string $recommandations): \App\Entity\Rapport
    {

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

        return parent::setRecommandations($recommandations);
    }

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

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

        return parent::getConclusion();
    }

    /**
     * {@inheritDoc}
     */
    public function setConclusion(?string $conclusion): \App\Entity\Rapport
    {

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

        return parent::setConclusion($conclusion);
    }

}
