<?php
namespace Proxies\__CG__\App\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Client extends \App\Entity\Client 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\\Client' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'nom', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'adresseGenerique', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'adresseCoupure', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'actuel', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'ancienId', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'dirigeant', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'logo', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'rolesUserClient', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'maillings', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'personnes', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'evenements', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'pressroom', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'dateEntree', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'dateSortie', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'duree', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'score', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'motsCles', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'documents', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'organisation', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'calendrierRedactionnels', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'etat', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'membres'];
}
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'nom', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'adresseGenerique', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'adresseCoupure', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'actuel', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'ancienId', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'dirigeant', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'logo', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'rolesUserClient', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'maillings', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'personnes', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'evenements', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'pressroom', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'dateEntree', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'dateSortie', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'duree', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'score', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'motsCles', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'documents', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'organisation', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'calendrierRedactionnels', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'etat', '' . "\0" . 'App\\Entity\\Client' . "\0" . 'membres'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Client $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 setId(int $id): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getNom()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNom', []);
return parent::getNom();
}
/**
* {@inheritDoc}
*/
public function setNom($nom): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNom', [$nom]);
parent::setNom($nom);
}
/**
* {@inheritDoc}
*/
public function getAdresseGenerique()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAdresseGenerique', []);
return parent::getAdresseGenerique();
}
/**
* {@inheritDoc}
*/
public function setAdresseGenerique(string $adresseGenerique): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAdresseGenerique', [$adresseGenerique]);
parent::setAdresseGenerique($adresseGenerique);
}
/**
* {@inheritDoc}
*/
public function getAdresseCoupure()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAdresseCoupure', []);
return parent::getAdresseCoupure();
}
/**
* {@inheritDoc}
*/
public function setAdresseCoupure(string $adresseCoupure): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAdresseCoupure', [$adresseCoupure]);
parent::setAdresseCoupure($adresseCoupure);
}
/**
* {@inheritDoc}
*/
public function getActuel()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getActuel', []);
return parent::getActuel();
}
/**
* {@inheritDoc}
*/
public function setActuel($actuel): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setActuel', [$actuel]);
parent::setActuel($actuel);
}
/**
* {@inheritDoc}
*/
public function getAncienId()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAncienId', []);
return parent::getAncienId();
}
/**
* {@inheritDoc}
*/
public function setAncienId($ancienId): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAncienId', [$ancienId]);
parent::setAncienId($ancienId);
}
/**
* {@inheritDoc}
*/
public function getDirigeant()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDirigeant', []);
return parent::getDirigeant();
}
/**
* {@inheritDoc}
*/
public function setDirigeant($dirigeant): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDirigeant', [$dirigeant]);
parent::setDirigeant($dirigeant);
}
/**
* {@inheritDoc}
*/
public function setLogo(\App\Entity\Logo $logo = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLogo', [$logo]);
return parent::setLogo($logo);
}
/**
* {@inheritDoc}
*/
public function getLogo()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLogo', []);
return parent::getLogo();
}
/**
* {@inheritDoc}
*/
public function addRolesUserClient(\App\Entity\ClientRoleUser $rolesUserClient)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addRolesUserClient', [$rolesUserClient]);
return parent::addRolesUserClient($rolesUserClient);
}
/**
* {@inheritDoc}
*/
public function removeRolesUserClient(\App\Entity\ClientRoleUser $rolesUserClient)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeRolesUserClient', [$rolesUserClient]);
return parent::removeRolesUserClient($rolesUserClient);
}
/**
* {@inheritDoc}
*/
public function getRolesUserClient()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRolesUserClient', []);
return parent::getRolesUserClient();
}
/**
* {@inheritDoc}
*/
public function addMailling(\App\Entity\Mailling $mailling)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addMailling', [$mailling]);
return parent::addMailling($mailling);
}
/**
* {@inheritDoc}
*/
public function removeMailling(\App\Entity\Mailling $mailling)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeMailling', [$mailling]);
return parent::removeMailling($mailling);
}
/**
* {@inheritDoc}
*/
public function getMaillings(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMaillings', []);
return parent::getMaillings();
}
/**
* {@inheritDoc}
*/
public function getPersonnes(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPersonnes', []);
return parent::getPersonnes();
}
/**
* {@inheritDoc}
*/
public function addPersonne(\App\Entity\ClientPersonne $personne): \App\Entity\Client
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addPersonne', [$personne]);
return parent::addPersonne($personne);
}
/**
* {@inheritDoc}
*/
public function removePersonne(\App\Entity\ClientPersonne $personne): \App\Entity\Client
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removePersonne', [$personne]);
return parent::removePersonne($personne);
}
/**
* {@inheritDoc}
*/
public function getEvenements(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEvenements', []);
return parent::getEvenements();
}
/**
* {@inheritDoc}
*/
public function addEvenement(\App\Entity\Evenement $evenement): \App\Entity\Client
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addEvenement', [$evenement]);
return parent::addEvenement($evenement);
}
/**
* {@inheritDoc}
*/
public function removeEvenement(\App\Entity\Evenement $evenement): \App\Entity\Client
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeEvenement', [$evenement]);
return parent::removeEvenement($evenement);
}
/**
* {@inheritDoc}
*/
public function getPressroom(): ?\App\Entity\Pressroom
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPressroom', []);
return parent::getPressroom();
}
/**
* {@inheritDoc}
*/
public function setPressroom(?\App\Entity\Pressroom $pressroom): \App\Entity\Client
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPressroom', [$pressroom]);
return parent::setPressroom($pressroom);
}
/**
* {@inheritDoc}
*/
public function getMotsCles(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMotsCles', []);
return parent::getMotsCles();
}
/**
* {@inheritDoc}
*/
public function addMotsCle(\App\Entity\MotsCles $motsCle): \App\Entity\Client
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addMotsCle', [$motsCle]);
return parent::addMotsCle($motsCle);
}
/**
* {@inheritDoc}
*/
public function removeMotsCle(\App\Entity\MotsCles $motsCle): \App\Entity\Client
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeMotsCle', [$motsCle]);
return parent::removeMotsCle($motsCle);
}
/**
* {@inheritDoc}
*/
public function getDocuments(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDocuments', []);
return parent::getDocuments();
}
/**
* {@inheritDoc}
*/
public function getDateEntree()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateEntree', []);
return parent::getDateEntree();
}
/**
* {@inheritDoc}
*/
public function addDocument(\App\Entity\Documents $document): \App\Entity\Client
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addDocument', [$document]);
return parent::addDocument($document);
}
/**
* {@inheritDoc}
*/
public function setDateEntree($dateEntree): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateEntree', [$dateEntree]);
parent::setDateEntree($dateEntree);
}
/**
* {@inheritDoc}
*/
public function removeDocument(\App\Entity\Documents $document): \App\Entity\Client
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeDocument', [$document]);
return parent::removeDocument($document);
}
/**
* {@inheritDoc}
*/
public function getDateSortie()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateSortie', []);
return parent::getDateSortie();
}
/**
* {@inheritDoc}
*/
public function setDateSortie($dateSortie): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateSortie', [$dateSortie]);
parent::setDateSortie($dateSortie);
}
/**
* {@inheritDoc}
*/
public function getDuree()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDuree', []);
return parent::getDuree();
}
/**
* {@inheritDoc}
*/
public function setDuree($duree): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDuree', [$duree]);
parent::setDuree($duree);
}
/**
* {@inheritDoc}
*/
public function getScore()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getScore', []);
return parent::getScore();
}
/**
* {@inheritDoc}
*/
public function setScore($score): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setScore', [$score]);
parent::setScore($score);
}
/**
* {@inheritDoc}
*/
public function getOrganisation(): ?\App\Entity\Organisation
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOrganisation', []);
return parent::getOrganisation();
}
/**
* {@inheritDoc}
*/
public function setOrganisation(?\App\Entity\Organisation $organisation): \App\Entity\Client
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setOrganisation', [$organisation]);
return parent::setOrganisation($organisation);
}
/**
* {@inheritDoc}
*/
public function getCalendrierRedactionnels(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCalendrierRedactionnels', []);
return parent::getCalendrierRedactionnels();
}
/**
* {@inheritDoc}
*/
public function addCalendrierRedactionnel(\App\Entity\CalendrierRedactionnel $calendrierRedactionnel): \App\Entity\Client
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addCalendrierRedactionnel', [$calendrierRedactionnel]);
return parent::addCalendrierRedactionnel($calendrierRedactionnel);
}
/**
* {@inheritDoc}
*/
public function removeCalendrierRedactionnel(\App\Entity\CalendrierRedactionnel $calendrierRedactionnel): \App\Entity\Client
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeCalendrierRedactionnel', [$calendrierRedactionnel]);
return parent::removeCalendrierRedactionnel($calendrierRedactionnel);
}
/**
* {@inheritDoc}
*/
public function getEtat(): ?\App\Entity\Etat
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEtat', []);
return parent::getEtat();
}
/**
* {@inheritDoc}
*/
public function setEtat(?\App\Entity\Etat $etat): \App\Entity\Client
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEtat', [$etat]);
return parent::setEtat($etat);
}
/**
* {@inheritDoc}
*/
public function getMembres(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMembres', []);
return parent::getMembres();
}
/**
* {@inheritDoc}
*/
public function removeMembre(\App\Entity\Membre $membre): \App\Entity\Client
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeMembre', [$membre]);
return parent::removeMembre($membre);
}
}