<?php
namespace Proxies\__CG__\App\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Tiers extends \App\Entity\Tiers 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\\Tiers' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'nom_tiers', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'prenom_tiers', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'tel_fixe_tiers', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'tel_portable_tiers', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'email_tiers', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'commentaire_tiers', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'date_crea', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'user_crea', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'date_modif', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'user_modif', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'is_active', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'id_type_tiers', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'user', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'adresses', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'info_salarie', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'societes', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'projet_producteur', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'projet_tiers', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'contrats', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'projet_salarie', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'projet_presta', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'ndf'];
}
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'nom_tiers', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'prenom_tiers', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'tel_fixe_tiers', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'tel_portable_tiers', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'email_tiers', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'commentaire_tiers', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'date_crea', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'user_crea', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'date_modif', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'user_modif', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'is_active', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'id_type_tiers', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'user', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'adresses', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'info_salarie', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'societes', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'projet_producteur', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'projet_tiers', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'contrats', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'projet_salarie', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'projet_presta', '' . "\0" . 'App\\Entity\\Tiers' . "\0" . 'ndf'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Tiers $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 clearForJsonResp()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'clearForJsonResp', []);
return parent::clearForJsonResp();
}
/**
* {@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 getNomTiers(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNomTiers', []);
return parent::getNomTiers();
}
/**
* {@inheritDoc}
*/
public function setNomTiers(string $nom_tiers): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNomTiers', [$nom_tiers]);
return parent::setNomTiers($nom_tiers);
}
/**
* {@inheritDoc}
*/
public function getPrenomTiers(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPrenomTiers', []);
return parent::getPrenomTiers();
}
/**
* {@inheritDoc}
*/
public function setPrenomTiers(string $prenom_tiers): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPrenomTiers', [$prenom_tiers]);
return parent::setPrenomTiers($prenom_tiers);
}
/**
* {@inheritDoc}
*/
public function getTelFixeTiers(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTelFixeTiers', []);
return parent::getTelFixeTiers();
}
/**
* {@inheritDoc}
*/
public function setTelFixeTiers(?string $tel_fixe_tiers): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTelFixeTiers', [$tel_fixe_tiers]);
return parent::setTelFixeTiers($tel_fixe_tiers);
}
/**
* {@inheritDoc}
*/
public function getTelPortableTiers(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTelPortableTiers', []);
return parent::getTelPortableTiers();
}
/**
* {@inheritDoc}
*/
public function setTelPortableTiers(?string $tel_portable_tiers): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTelPortableTiers', [$tel_portable_tiers]);
return parent::setTelPortableTiers($tel_portable_tiers);
}
/**
* {@inheritDoc}
*/
public function getEmailTiers(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmailTiers', []);
return parent::getEmailTiers();
}
/**
* {@inheritDoc}
*/
public function setEmailTiers(?string $email_tiers): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmailTiers', [$email_tiers]);
return parent::setEmailTiers($email_tiers);
}
/**
* {@inheritDoc}
*/
public function getCommentaireTiers(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCommentaireTiers', []);
return parent::getCommentaireTiers();
}
/**
* {@inheritDoc}
*/
public function setCommentaireTiers(?string $commentaire_tiers): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCommentaireTiers', [$commentaire_tiers]);
return parent::setCommentaireTiers($commentaire_tiers);
}
/**
* {@inheritDoc}
*/
public function getDateCrea(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateCrea', []);
return parent::getDateCrea();
}
/**
* {@inheritDoc}
*/
public function setDateCrea(\DateTimeInterface $date_crea): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateCrea', [$date_crea]);
return parent::setDateCrea($date_crea);
}
/**
* {@inheritDoc}
*/
public function getUserCrea(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserCrea', []);
return parent::getUserCrea();
}
/**
* {@inheritDoc}
*/
public function setUserCrea(int $user_crea): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUserCrea', [$user_crea]);
return parent::setUserCrea($user_crea);
}
/**
* {@inheritDoc}
*/
public function getDateModif(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateModif', []);
return parent::getDateModif();
}
/**
* {@inheritDoc}
*/
public function setDateModif(?\DateTimeInterface $date_modif): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateModif', [$date_modif]);
return parent::setDateModif($date_modif);
}
/**
* {@inheritDoc}
*/
public function getUserModif(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserModif', []);
return parent::getUserModif();
}
/**
* {@inheritDoc}
*/
public function setUserModif(?int $user_modif): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUserModif', [$user_modif]);
return parent::setUserModif($user_modif);
}
/**
* {@inheritDoc}
*/
public function getIsActive(): ?bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsActive', []);
return parent::getIsActive();
}
/**
* {@inheritDoc}
*/
public function setIsActive(bool $is_active): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsActive', [$is_active]);
return parent::setIsActive($is_active);
}
/**
* {@inheritDoc}
*/
public function getIdTypeTiers(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdTypeTiers', []);
return parent::getIdTypeTiers();
}
/**
* {@inheritDoc}
*/
public function setIdTypeTiers(int $id_type_tiers): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdTypeTiers', [$id_type_tiers]);
return parent::setIdTypeTiers($id_type_tiers);
}
/**
* {@inheritDoc}
*/
public function getUser(): ?\App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []);
return parent::getUser();
}
/**
* {@inheritDoc}
*/
public function setUser(?\App\Entity\User $user): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]);
return parent::setUser($user);
}
/**
* {@inheritDoc}
*/
public function getAdresses(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAdresses', []);
return parent::getAdresses();
}
/**
* {@inheritDoc}
*/
public function addAdress(\App\Entity\Adresse $adress): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addAdress', [$adress]);
return parent::addAdress($adress);
}
/**
* {@inheritDoc}
*/
public function removeAdress(\App\Entity\Adresse $adress): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeAdress', [$adress]);
return parent::removeAdress($adress);
}
/**
* {@inheritDoc}
*/
public function serializeAdresse()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'serializeAdresse', []);
return parent::serializeAdresse();
}
/**
* {@inheritDoc}
*/
public function getInfoSalarie(): ?\App\Entity\InfoSalarie
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getInfoSalarie', []);
return parent::getInfoSalarie();
}
/**
* {@inheritDoc}
*/
public function setInfoSalarie(?\App\Entity\InfoSalarie $info_salarie): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setInfoSalarie', [$info_salarie]);
return parent::setInfoSalarie($info_salarie);
}
/**
* {@inheritDoc}
*/
public function getSocietes(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSocietes', []);
return parent::getSocietes();
}
/**
* {@inheritDoc}
*/
public function addSociete(\App\Entity\Societe $societe): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addSociete', [$societe]);
return parent::addSociete($societe);
}
/**
* {@inheritDoc}
*/
public function removeSociete(\App\Entity\Societe $societe): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeSociete', [$societe]);
return parent::removeSociete($societe);
}
/**
* {@inheritDoc}
*/
public function getProjetProducteur(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProjetProducteur', []);
return parent::getProjetProducteur();
}
/**
* {@inheritDoc}
*/
public function addProjetProducteur(\App\Entity\Projet $projetProducteur): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addProjetProducteur', [$projetProducteur]);
return parent::addProjetProducteur($projetProducteur);
}
/**
* {@inheritDoc}
*/
public function removeProjetProducteur(\App\Entity\Projet $projetProducteur): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeProjetProducteur', [$projetProducteur]);
return parent::removeProjetProducteur($projetProducteur);
}
/**
* {@inheritDoc}
*/
public function getProjetTiers(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProjetTiers', []);
return parent::getProjetTiers();
}
/**
* {@inheritDoc}
*/
public function addProjetTier(\App\Entity\Projet $projetTier): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addProjetTier', [$projetTier]);
return parent::addProjetTier($projetTier);
}
/**
* {@inheritDoc}
*/
public function removeProjetTier(\App\Entity\Projet $projetTier): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeProjetTier', [$projetTier]);
return parent::removeProjetTier($projetTier);
}
/**
* {@inheritDoc}
*/
public function getContratByIdProjet(int $idProjet): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getContratByIdProjet', [$idProjet]);
return parent::getContratByIdProjet($idProjet);
}
/**
* {@inheritDoc}
*/
public function getContratTiers(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getContratTiers', []);
return parent::getContratTiers();
}
/**
* {@inheritDoc}
*/
public function addContratTiers(\App\Entity\Contrat $contratTiers): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addContratTiers', [$contratTiers]);
return parent::addContratTiers($contratTiers);
}
/**
* {@inheritDoc}
*/
public function removeContratTiers(\App\Entity\Contrat $contratTiers): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeContratTiers', [$contratTiers]);
return parent::removeContratTiers($contratTiers);
}
/**
* {@inheritDoc}
*/
public function getProjetEmploi(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProjetEmploi', []);
return parent::getProjetEmploi();
}
/**
* {@inheritDoc}
*/
public function addProjetEmploi(\App\Entity\Projet $projet): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addProjetEmploi', [$projet]);
return parent::addProjetEmploi($projet);
}
/**
* {@inheritDoc}
*/
public function removeProjetEmploi(\App\Entity\Projet $projet): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeProjetEmploi', [$projet]);
return parent::removeProjetEmploi($projet);
}
/**
* {@inheritDoc}
*/
public function getProjetPrestataire(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProjetPrestataire', []);
return parent::getProjetPrestataire();
}
/**
* {@inheritDoc}
*/
public function addProjetPrestataire(\App\Entity\Projet $projet): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addProjetPrestataire', [$projet]);
return parent::addProjetPrestataire($projet);
}
/**
* {@inheritDoc}
*/
public function removeProjetPrestataire(\App\Entity\Projet $projet): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeProjetPrestataire', [$projet]);
return parent::removeProjetPrestataire($projet);
}
/**
* {@inheritDoc}
*/
public function getNdf(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNdf', []);
return parent::getNdf();
}
/**
* {@inheritDoc}
*/
public function addNdf(\App\Entity\Document $ndf): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addNdf', [$ndf]);
return parent::addNdf($ndf);
}
/**
* {@inheritDoc}
*/
public function removeNdf(\App\Entity\Document $ndf): \App\Entity\Tiers
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeNdf', [$ndf]);
return parent::removeNdf($ndf);
}
}