<?php
namespace Proxies\__CG__\App\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Stock extends \App\Entity\Stock 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\\Stock' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'modele', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'quantite', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'prix_unitaire', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'source', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'idSource', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'dateEntree', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'local', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'produit', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'identifiant', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'agence', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'transfertEnCours', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'transfert', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'defectueux', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'recu', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'statut', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'materielMouvements', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'nanoReseau', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'client', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'utilisateur', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'materielInspections', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'etat', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'facture', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'fabrication'];
}
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'modele', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'quantite', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'prix_unitaire', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'source', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'idSource', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'dateEntree', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'local', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'produit', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'identifiant', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'agence', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'transfertEnCours', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'transfert', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'defectueux', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'recu', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'statut', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'materielMouvements', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'nanoReseau', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'client', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'utilisateur', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'materielInspections', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'etat', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'facture', '' . "\0" . 'App\\Entity\\Stock' . "\0" . 'fabrication'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Stock $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 getDateIdentification(\App\Repository\IdentifiantRepository $repo): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateIdentification', [$repo]);
return parent::getDateIdentification($repo);
}
/**
* {@inheritDoc}
*/
public function getLot()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLot', []);
return parent::getLot();
}
/**
* {@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 getModele(): ?\App\Entity\Model
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getModele', []);
return parent::getModele();
}
/**
* {@inheritDoc}
*/
public function setModele(?\App\Entity\Model $modele): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setModele', [$modele]);
return parent::setModele($modele);
}
/**
* {@inheritDoc}
*/
public function getQuantite(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getQuantite', []);
return parent::getQuantite();
}
/**
* {@inheritDoc}
*/
public function setQuantite(int $quantite): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setQuantite', [$quantite]);
return parent::setQuantite($quantite);
}
/**
* {@inheritDoc}
*/
public function getSource(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSource', []);
return parent::getSource();
}
/**
* {@inheritDoc}
*/
public function setSource(?string $source): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSource', [$source]);
return parent::setSource($source);
}
/**
* {@inheritDoc}
*/
public function getIdSource(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdSource', []);
return parent::getIdSource();
}
/**
* {@inheritDoc}
*/
public function setIdSource(?string $idSource): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdSource', [$idSource]);
return parent::setIdSource($idSource);
}
/**
* {@inheritDoc}
*/
public function getDateEntree(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateEntree', []);
return parent::getDateEntree();
}
/**
* {@inheritDoc}
*/
public function setDateEntree(?\DateTimeInterface $dateEntree): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateEntree', [$dateEntree]);
return parent::setDateEntree($dateEntree);
}
/**
* {@inheritDoc}
*/
public function getPrixUnitaire(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPrixUnitaire', []);
return parent::getPrixUnitaire();
}
/**
* {@inheritDoc}
*/
public function setPrixUnitaire(string $prix_unitaire): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPrixUnitaire', [$prix_unitaire]);
return parent::setPrixUnitaire($prix_unitaire);
}
/**
* {@inheritDoc}
*/
public function getLocal(): ?\App\Entity\LocalAgence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLocal', []);
return parent::getLocal();
}
/**
* {@inheritDoc}
*/
public function setLocal(?\App\Entity\LocalAgence $local): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLocal', [$local]);
return parent::setLocal($local);
}
/**
* {@inheritDoc}
*/
public function getProduit(): ?\App\Entity\Produit
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProduit', []);
return parent::getProduit();
}
/**
* {@inheritDoc}
*/
public function setProduit(?\App\Entity\Produit $produit): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setProduit', [$produit]);
return parent::setProduit($produit);
}
/**
* {@inheritDoc}
*/
public function getIdentifiant(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdentifiant', []);
return parent::getIdentifiant();
}
/**
* {@inheritDoc}
*/
public function setIdentifiant(?string $identifiant): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdentifiant', [$identifiant]);
return parent::setIdentifiant($identifiant);
}
/**
* {@inheritDoc}
*/
public function getFacture(): ?\App\Entity\Facturation
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFacture', []);
return parent::getFacture();
}
/**
* {@inheritDoc}
*/
public function setFacture(?\App\Entity\Facturation $facture): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFacture', [$facture]);
return parent::setFacture($facture);
}
/**
* {@inheritDoc}
*/
public function getFabrication(): ?\App\Entity\Fabrication
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFabrication', []);
return parent::getFabrication();
}
/**
* {@inheritDoc}
*/
public function setFabrication(?\App\Entity\Fabrication $fabrication): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFabrication', [$fabrication]);
return parent::setFabrication($fabrication);
}
/**
* {@inheritDoc}
*/
public function getAgence(): ?\App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAgence', []);
return parent::getAgence();
}
/**
* {@inheritDoc}
*/
public function setAgence(?\App\Entity\Agence $agence): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAgence', [$agence]);
return parent::setAgence($agence);
}
/**
* {@inheritDoc}
*/
public function getTransfertEnCours(): ?bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTransfertEnCours', []);
return parent::getTransfertEnCours();
}
/**
* {@inheritDoc}
*/
public function setTransfertEnCours(?bool $transfertEnCours): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTransfertEnCours', [$transfertEnCours]);
return parent::setTransfertEnCours($transfertEnCours);
}
/**
* {@inheritDoc}
*/
public function getTransfert(): ?\App\Entity\Transfert
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTransfert', []);
return parent::getTransfert();
}
/**
* {@inheritDoc}
*/
public function setTransfert(?\App\Entity\Transfert $transfert): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTransfert', [$transfert]);
return parent::setTransfert($transfert);
}
/**
* {@inheritDoc}
*/
public function getDefectueux(): ?bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDefectueux', []);
return parent::getDefectueux();
}
/**
* {@inheritDoc}
*/
public function setDefectueux(?bool $defectueux): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDefectueux', [$defectueux]);
return parent::setDefectueux($defectueux);
}
/**
* {@inheritDoc}
*/
public function getRecu(): ?bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRecu', []);
return parent::getRecu();
}
/**
* {@inheritDoc}
*/
public function setRecu(?bool $recu): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setRecu', [$recu]);
return parent::setRecu($recu);
}
/**
* {@inheritDoc}
*/
public function getStatut(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatut', []);
return parent::getStatut();
}
/**
* {@inheritDoc}
*/
public function setStatut(?string $statut): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setStatut', [$statut]);
return parent::setStatut($statut);
}
/**
* {@inheritDoc}
*/
public function getStatutLabel(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatutLabel', []);
return parent::getStatutLabel();
}
/**
* {@inheritDoc}
*/
public function getMaterielMouvements(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMaterielMouvements', []);
return parent::getMaterielMouvements();
}
/**
* {@inheritDoc}
*/
public function addMaterielMouvement(\App\Entity\MaterielMouvement $materielMouvement): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addMaterielMouvement', [$materielMouvement]);
return parent::addMaterielMouvement($materielMouvement);
}
/**
* {@inheritDoc}
*/
public function getLastMaterielMouvement()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastMaterielMouvement', []);
return parent::getLastMaterielMouvement();
}
/**
* {@inheritDoc}
*/
public function getLastMaterielInspection()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastMaterielInspection', []);
return parent::getLastMaterielInspection();
}
/**
* {@inheritDoc}
*/
public function removeMaterielMouvement(\App\Entity\MaterielMouvement $materielMouvement): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeMaterielMouvement', [$materielMouvement]);
return parent::removeMaterielMouvement($materielMouvement);
}
/**
* {@inheritDoc}
*/
public function getNanoReseau(): ?\App\Entity\Network
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNanoReseau', []);
return parent::getNanoReseau();
}
/**
* {@inheritDoc}
*/
public function setNanoReseau(?\App\Entity\Network $nanoReseau): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNanoReseau', [$nanoReseau]);
return parent::setNanoReseau($nanoReseau);
}
/**
* {@inheritDoc}
*/
public function getClient(): ?\App\Entity\Customer
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getClient', []);
return parent::getClient();
}
/**
* {@inheritDoc}
*/
public function setClient(?\App\Entity\Customer $client): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setClient', [$client]);
return parent::setClient($client);
}
/**
* {@inheritDoc}
*/
public function getUtilisateur(): ?\App\Entity\Users
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUtilisateur', []);
return parent::getUtilisateur();
}
/**
* {@inheritDoc}
*/
public function setUtilisateur(?\App\Entity\Users $utilisateur): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUtilisateur', [$utilisateur]);
return parent::setUtilisateur($utilisateur);
}
/**
* {@inheritDoc}
*/
public function getMaterielInspections(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMaterielInspections', []);
return parent::getMaterielInspections();
}
/**
* {@inheritDoc}
*/
public function addMaterielInspection(\App\Entity\MaterielInspection $materielInspection): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addMaterielInspection', [$materielInspection]);
return parent::addMaterielInspection($materielInspection);
}
/**
* {@inheritDoc}
*/
public function removeMaterielInspection(\App\Entity\MaterielInspection $materielInspection): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeMaterielInspection', [$materielInspection]);
return parent::removeMaterielInspection($materielInspection);
}
/**
* {@inheritDoc}
*/
public function getEtat(): ?\App\Entity\EtatMateriel
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEtat', []);
return parent::getEtat();
}
/**
* {@inheritDoc}
*/
public function setEtat(?\App\Entity\EtatMateriel $etat): \App\Entity\Stock
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEtat', [$etat]);
return parent::setEtat($etat);
}
}