<?php
namespace Proxies\__CG__\App\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Agence extends \App\Entity\Agence 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\\Agence' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'nom', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'ref', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'adresse', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'gps', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'localizationLat', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'localizationLong', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'telephone', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'locaux', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'zones', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'users', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'userPermissionOnAgences', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'fournisseurs', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'facturations', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'fabrications', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'transferts', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'stocks', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'mouvements', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'mouvementsArrivee', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'inspections'];
}
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'nom', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'ref', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'adresse', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'gps', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'localizationLat', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'localizationLong', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'telephone', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'locaux', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'zones', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'users', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'userPermissionOnAgences', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'fournisseurs', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'facturations', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'fabrications', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'transferts', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'stocks', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'mouvements', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'mouvementsArrivee', '' . "\0" . 'App\\Entity\\Agence' . "\0" . 'inspections'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Agence $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 __toString()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);
return parent::__toString();
}
/**
* {@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 getNom(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNom', []);
return parent::getNom();
}
/**
* {@inheritDoc}
*/
public function setNom(string $nom): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNom', [$nom]);
return parent::setNom($nom);
}
/**
* {@inheritDoc}
*/
public function getRef(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRef', []);
return parent::getRef();
}
/**
* {@inheritDoc}
*/
public function setRef(string $ref): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setRef', [$ref]);
return parent::setRef($ref);
}
/**
* {@inheritDoc}
*/
public function getAdresse(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAdresse', []);
return parent::getAdresse();
}
/**
* {@inheritDoc}
*/
public function setAdresse(string $adresse): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAdresse', [$adresse]);
return parent::setAdresse($adresse);
}
/**
* {@inheritDoc}
*/
public function getGps(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getGps', []);
return parent::getGps();
}
/**
* {@inheritDoc}
*/
public function setGps(?string $gps): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setGps', [$gps]);
return parent::setGps($gps);
}
/**
* {@inheritDoc}
*/
public function getLocalizationLat(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLocalizationLat', []);
return parent::getLocalizationLat();
}
/**
* {@inheritDoc}
*/
public function setLocalizationLat(?string $localizationLat): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLocalizationLat', [$localizationLat]);
return parent::setLocalizationLat($localizationLat);
}
/**
* {@inheritDoc}
*/
public function getLocalizationLong(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLocalizationLong', []);
return parent::getLocalizationLong();
}
/**
* {@inheritDoc}
*/
public function setLocalizationLong(?string $localizationLong): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLocalizationLong', [$localizationLong]);
return parent::setLocalizationLong($localizationLong);
}
/**
* {@inheritDoc}
*/
public function getTelephone(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTelephone', []);
return parent::getTelephone();
}
/**
* {@inheritDoc}
*/
public function setTelephone(?string $telephone): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTelephone', [$telephone]);
return parent::setTelephone($telephone);
}
/**
* {@inheritDoc}
*/
public function getLocaux(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLocaux', []);
return parent::getLocaux();
}
/**
* {@inheritDoc}
*/
public function addLocaux(\App\Entity\LocalAgence $locaux): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addLocaux', [$locaux]);
return parent::addLocaux($locaux);
}
/**
* {@inheritDoc}
*/
public function removeLocaux(\App\Entity\LocalAgence $locaux): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeLocaux', [$locaux]);
return parent::removeLocaux($locaux);
}
/**
* {@inheritDoc}
*/
public function getZones(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getZones', []);
return parent::getZones();
}
/**
* {@inheritDoc}
*/
public function addZone(\App\Entity\Zone $zone): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addZone', [$zone]);
return parent::addZone($zone);
}
/**
* {@inheritDoc}
*/
public function removeZone(\App\Entity\Zone $zone): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeZone', [$zone]);
return parent::removeZone($zone);
}
/**
* {@inheritDoc}
*/
public function getUsers(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUsers', []);
return parent::getUsers();
}
/**
* {@inheritDoc}
*/
public function addUser(\App\Entity\Users $user): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addUser', [$user]);
return parent::addUser($user);
}
/**
* {@inheritDoc}
*/
public function removeUser(\App\Entity\Users $user): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeUser', [$user]);
return parent::removeUser($user);
}
/**
* {@inheritDoc}
*/
public function getUserPermissionOnAgences(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserPermissionOnAgences', []);
return parent::getUserPermissionOnAgences();
}
/**
* {@inheritDoc}
*/
public function addUserPermissionOnAgence(\App\Entity\UserPermissionOnAgence $userPermissionOnAgence): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addUserPermissionOnAgence', [$userPermissionOnAgence]);
return parent::addUserPermissionOnAgence($userPermissionOnAgence);
}
/**
* {@inheritDoc}
*/
public function removeUserPermissionOnAgence(\App\Entity\UserPermissionOnAgence $userPermissionOnAgence): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeUserPermissionOnAgence', [$userPermissionOnAgence]);
return parent::removeUserPermissionOnAgence($userPermissionOnAgence);
}
/**
* {@inheritDoc}
*/
public function getFournisseurs(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFournisseurs', []);
return parent::getFournisseurs();
}
/**
* {@inheritDoc}
*/
public function addFournisseur(\App\Entity\Fournisseur $fournisseur): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addFournisseur', [$fournisseur]);
return parent::addFournisseur($fournisseur);
}
/**
* {@inheritDoc}
*/
public function removeFournisseur(\App\Entity\Fournisseur $fournisseur): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeFournisseur', [$fournisseur]);
return parent::removeFournisseur($fournisseur);
}
/**
* {@inheritDoc}
*/
public function getFacturations(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFacturations', []);
return parent::getFacturations();
}
/**
* {@inheritDoc}
*/
public function addFacturation(\App\Entity\Facturation $facturation): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addFacturation', [$facturation]);
return parent::addFacturation($facturation);
}
/**
* {@inheritDoc}
*/
public function removeFacturation(\App\Entity\Facturation $facturation): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeFacturation', [$facturation]);
return parent::removeFacturation($facturation);
}
/**
* {@inheritDoc}
*/
public function getFabrications(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFabrications', []);
return parent::getFabrications();
}
/**
* {@inheritDoc}
*/
public function addFabrication(\App\Entity\Fabrication $fabrication): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addFabrication', [$fabrication]);
return parent::addFabrication($fabrication);
}
/**
* {@inheritDoc}
*/
public function removeFabrication(\App\Entity\Fabrication $fabrication): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeFabrication', [$fabrication]);
return parent::removeFabrication($fabrication);
}
/**
* {@inheritDoc}
*/
public function getTransferts(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTransferts', []);
return parent::getTransferts();
}
/**
* {@inheritDoc}
*/
public function addTransfert(\App\Entity\Transfert $transfert): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addTransfert', [$transfert]);
return parent::addTransfert($transfert);
}
/**
* {@inheritDoc}
*/
public function removeTransfert(\App\Entity\Transfert $transfert): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeTransfert', [$transfert]);
return parent::removeTransfert($transfert);
}
/**
* {@inheritDoc}
*/
public function getStocks(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStocks', []);
return parent::getStocks();
}
/**
* {@inheritDoc}
*/
public function addStock(\App\Entity\Stock $stock): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addStock', [$stock]);
return parent::addStock($stock);
}
/**
* {@inheritDoc}
*/
public function removeStock(\App\Entity\Stock $stock): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeStock', [$stock]);
return parent::removeStock($stock);
}
/**
* {@inheritDoc}
*/
public function getMouvements(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMouvements', []);
return parent::getMouvements();
}
/**
* {@inheritDoc}
*/
public function addMouvement(\App\Entity\Mouvement $mouvement): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addMouvement', [$mouvement]);
return parent::addMouvement($mouvement);
}
/**
* {@inheritDoc}
*/
public function removeMouvement(\App\Entity\Mouvement $mouvement): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeMouvement', [$mouvement]);
return parent::removeMouvement($mouvement);
}
/**
* {@inheritDoc}
*/
public function getMouvementsArrivee(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMouvementsArrivee', []);
return parent::getMouvementsArrivee();
}
/**
* {@inheritDoc}
*/
public function addMouvementsArrivee(\App\Entity\Mouvement $mouvementsArrivee): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addMouvementsArrivee', [$mouvementsArrivee]);
return parent::addMouvementsArrivee($mouvementsArrivee);
}
/**
* {@inheritDoc}
*/
public function removeMouvementsArrivee(\App\Entity\Mouvement $mouvementsArrivee): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeMouvementsArrivee', [$mouvementsArrivee]);
return parent::removeMouvementsArrivee($mouvementsArrivee);
}
/**
* {@inheritDoc}
*/
public function getInspections(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getInspections', []);
return parent::getInspections();
}
/**
* {@inheritDoc}
*/
public function addInspection(\App\Entity\Inspection $inspection): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addInspection', [$inspection]);
return parent::addInspection($inspection);
}
/**
* {@inheritDoc}
*/
public function removeInspection(\App\Entity\Inspection $inspection): \App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeInspection', [$inspection]);
return parent::removeInspection($inspection);
}
}