<?php
namespace Proxies\__CG__\App\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class CentreGroupe extends \App\Entity\CentreGroupe 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\\CentreGroupe' . "\0" . 'id', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'cg_nom', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'cg_pas_horaires', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'cg_actif', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'cg_stay_to_date_rdv', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'lignes', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'typeVehicules', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'typeVisites', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'centrePrestations', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'promotions', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'centreCouponPromotions', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'cg_gerant', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'centre_groupe_css', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'clientComptes', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'centres', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'centrePartenaires', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'id_old', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'utilisateurs', 'em', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'cg_serveur'];
}
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'id', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'cg_nom', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'cg_pas_horaires', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'cg_actif', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'cg_stay_to_date_rdv', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'lignes', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'typeVehicules', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'typeVisites', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'centrePrestations', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'promotions', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'centreCouponPromotions', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'cg_gerant', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'centre_groupe_css', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'clientComptes', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'centres', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'centrePartenaires', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'id_old', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'utilisateurs', 'em', '' . "\0" . 'App\\Entity\\CentreGroupe' . "\0" . 'cg_serveur'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (CentreGroupe $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 getCgNom(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCgNom', []);
return parent::getCgNom();
}
/**
* {@inheritDoc}
*/
public function setCgNom(string $cg_nom): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCgNom', [$cg_nom]);
return parent::setCgNom($cg_nom);
}
/**
* {@inheritDoc}
*/
public function getCgPasHoraires(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCgPasHoraires', []);
return parent::getCgPasHoraires();
}
/**
* {@inheritDoc}
*/
public function setCgPasHoraires(int $cg_pas_horaires): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCgPasHoraires', [$cg_pas_horaires]);
return parent::setCgPasHoraires($cg_pas_horaires);
}
/**
* {@inheritDoc}
*/
public function isCgActif(): ?bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isCgActif', []);
return parent::isCgActif();
}
/**
* {@inheritDoc}
*/
public function setCgActif(bool $cg_actif): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCgActif', [$cg_actif]);
return parent::setCgActif($cg_actif);
}
/**
* {@inheritDoc}
*/
public function isCgStayToDateRdv(): ?bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isCgStayToDateRdv', []);
return parent::isCgStayToDateRdv();
}
/**
* {@inheritDoc}
*/
public function setCgStayToDateRdv(bool $cg_stay_to_date_rdv): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCgStayToDateRdv', [$cg_stay_to_date_rdv]);
return parent::setCgStayToDateRdv($cg_stay_to_date_rdv);
}
/**
* {@inheritDoc}
*/
public function getLignes(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLignes', []);
return parent::getLignes();
}
/**
* {@inheritDoc}
*/
public function addLigne(\App\Entity\Ligne $ligne): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addLigne', [$ligne]);
return parent::addLigne($ligne);
}
/**
* {@inheritDoc}
*/
public function getLignesByTypes($types = [])
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLignesByTypes', [$types]);
return parent::getLignesByTypes($types);
}
/**
* {@inheritDoc}
*/
public function removeLigne(\App\Entity\Ligne $ligne): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeLigne', [$ligne]);
return parent::removeLigne($ligne);
}
/**
* {@inheritDoc}
*/
public function getTypeVehicules(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTypeVehicules', []);
return parent::getTypeVehicules();
}
/**
* {@inheritDoc}
*/
public function addTypeVehicule(\App\Entity\TypeVehicule $typeVehicule): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addTypeVehicule', [$typeVehicule]);
return parent::addTypeVehicule($typeVehicule);
}
/**
* {@inheritDoc}
*/
public function removeTypeVehicule(\App\Entity\TypeVehicule $typeVehicule): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeTypeVehicule', [$typeVehicule]);
return parent::removeTypeVehicule($typeVehicule);
}
/**
* {@inheritDoc}
*/
public function getTypeVisites(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTypeVisites', []);
return parent::getTypeVisites();
}
/**
* {@inheritDoc}
*/
public function addTypeVisite(\App\Entity\TypeVisite $typeVisite): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addTypeVisite', [$typeVisite]);
return parent::addTypeVisite($typeVisite);
}
/**
* {@inheritDoc}
*/
public function removeTypeVisite(\App\Entity\TypeVisite $typeVisite): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeTypeVisite', [$typeVisite]);
return parent::removeTypeVisite($typeVisite);
}
/**
* {@inheritDoc}
*/
public function getCentrePrestations(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCentrePrestations', []);
return parent::getCentrePrestations();
}
/**
* {@inheritDoc}
*/
public function addCentrePrestation(\App\Entity\CentrePrestation $centrePrestation): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addCentrePrestation', [$centrePrestation]);
return parent::addCentrePrestation($centrePrestation);
}
/**
* {@inheritDoc}
*/
public function removeCentrePrestation(\App\Entity\CentrePrestation $centrePrestation): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeCentrePrestation', [$centrePrestation]);
return parent::removeCentrePrestation($centrePrestation);
}
/**
* {@inheritDoc}
*/
public function getPromotions(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPromotions', []);
return parent::getPromotions();
}
/**
* {@inheritDoc}
*/
public function addPromotion(\App\Entity\Promotion $promotion): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addPromotion', [$promotion]);
return parent::addPromotion($promotion);
}
/**
* {@inheritDoc}
*/
public function removePromotion(\App\Entity\Promotion $promotion): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removePromotion', [$promotion]);
return parent::removePromotion($promotion);
}
/**
* {@inheritDoc}
*/
public function getCentreCouponPromotions(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCentreCouponPromotions', []);
return parent::getCentreCouponPromotions();
}
/**
* {@inheritDoc}
*/
public function addCentreCouponPromotion(\App\Entity\CentreCouponPromotion $centreCouponPromotion): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addCentreCouponPromotion', [$centreCouponPromotion]);
return parent::addCentreCouponPromotion($centreCouponPromotion);
}
/**
* {@inheritDoc}
*/
public function removeCentreCouponPromotion(\App\Entity\CentreCouponPromotion $centreCouponPromotion): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeCentreCouponPromotion', [$centreCouponPromotion]);
return parent::removeCentreCouponPromotion($centreCouponPromotion);
}
/**
* {@inheritDoc}
*/
public function getCgGerant(): ?\App\Entity\Gerant
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCgGerant', []);
return parent::getCgGerant();
}
/**
* {@inheritDoc}
*/
public function setCgGerant(?\App\Entity\Gerant $cg_gerant): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCgGerant', [$cg_gerant]);
return parent::setCgGerant($cg_gerant);
}
/**
* {@inheritDoc}
*/
public function getCentreGroupeCss(): ?\App\Entity\CentreGroupeCss
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCentreGroupeCss', []);
return parent::getCentreGroupeCss();
}
/**
* {@inheritDoc}
*/
public function setCentreGroupeCss(?\App\Entity\CentreGroupeCss $centre_groupe_css): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCentreGroupeCss', [$centre_groupe_css]);
return parent::setCentreGroupeCss($centre_groupe_css);
}
/**
* {@inheritDoc}
*/
public function getClientComptes(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getClientComptes', []);
return parent::getClientComptes();
}
/**
* {@inheritDoc}
*/
public function addClientCompte(\App\Entity\ClientCompte $clientCompte): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addClientCompte', [$clientCompte]);
return parent::addClientCompte($clientCompte);
}
/**
* {@inheritDoc}
*/
public function removeClientCompte(\App\Entity\ClientCompte $clientCompte): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeClientCompte', [$clientCompte]);
return parent::removeClientCompte($clientCompte);
}
/**
* {@inheritDoc}
*/
public function getCentres(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCentres', []);
return parent::getCentres();
}
/**
* {@inheritDoc}
*/
public function addCentre(\App\Entity\Centre $centre): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addCentre', [$centre]);
return parent::addCentre($centre);
}
/**
* {@inheritDoc}
*/
public function removeCentre(\App\Entity\Centre $centre): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeCentre', [$centre]);
return parent::removeCentre($centre);
}
/**
* {@inheritDoc}
*/
public function getCentrePartenaires(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCentrePartenaires', []);
return parent::getCentrePartenaires();
}
/**
* {@inheritDoc}
*/
public function addCentrePartenaire(\App\Entity\CentrePartenaire $centrePartenaire): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addCentrePartenaire', [$centrePartenaire]);
return parent::addCentrePartenaire($centrePartenaire);
}
/**
* {@inheritDoc}
*/
public function removeCentrePartenaire(\App\Entity\CentrePartenaire $centrePartenaire): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeCentrePartenaire', [$centrePartenaire]);
return parent::removeCentrePartenaire($centrePartenaire);
}
/**
* {@inheritDoc}
*/
public function getIdOld(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdOld', []);
return parent::getIdOld();
}
/**
* {@inheritDoc}
*/
public function setIdOld(int $id_old): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdOld', [$id_old]);
return parent::setIdOld($id_old);
}
/**
* {@inheritDoc}
*/
public function getUtilisateurs(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUtilisateurs', []);
return parent::getUtilisateurs();
}
/**
* {@inheritDoc}
*/
public function addUtilisateur(\App\Entity\Utilisateur $utilisateur): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addUtilisateur', [$utilisateur]);
return parent::addUtilisateur($utilisateur);
}
/**
* {@inheritDoc}
*/
public function removeUtilisateur(\App\Entity\Utilisateur $utilisateur): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeUtilisateur', [$utilisateur]);
return parent::removeUtilisateur($utilisateur);
}
/**
* {@inheritDoc}
*/
public function getCgServeur(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCgServeur', []);
return parent::getCgServeur();
}
/**
* {@inheritDoc}
*/
public function setCgServeur(?string $cg_serveur): \App\Entity\CentreGroupe
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCgServeur', [$cg_serveur]);
return parent::setCgServeur($cg_serveur);
}
}