<?php
namespace Proxies\__CG__\App\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Product extends \App\Entity\Product 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\\Product' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'name', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'price', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'qty', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'code', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'description', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'productType', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'productFields', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'hold', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'productIns', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'productOuts', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'shopStock', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'size', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'color', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'gsm', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'caliperMicrons', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'dimension1', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'dimension2', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'brokenRate', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'packetRate', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'packetQty', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'bulkRate', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'bulkQty', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'pricingUnits', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'sheetReelEnvelope', 'createdAt', 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'name', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'price', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'qty', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'code', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'description', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'productType', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'productFields', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'hold', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'productIns', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'productOuts', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'shopStock', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'size', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'color', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'gsm', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'caliperMicrons', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'dimension1', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'dimension2', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'brokenRate', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'packetRate', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'packetQty', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'bulkRate', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'bulkQty', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'pricingUnits', '' . "\0" . 'App\\Entity\\Product' . "\0" . 'sheetReelEnvelope', 'createdAt', 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Product $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 getName(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setName(string $name): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getPrice(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPrice', []);
return parent::getPrice();
}
/**
* {@inheritDoc}
*/
public function setPrice(?string $price): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPrice', [$price]);
return parent::setPrice($price);
}
/**
* {@inheritDoc}
*/
public function getQty(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getQty', []);
return parent::getQty();
}
/**
* {@inheritDoc}
*/
public function setQty(int $qty): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setQty', [$qty]);
return parent::setQty($qty);
}
/**
* {@inheritDoc}
*/
public function getCode(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCode', []);
return parent::getCode();
}
/**
* {@inheritDoc}
*/
public function setCode(string $code): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCode', [$code]);
return parent::setCode($code);
}
/**
* {@inheritDoc}
*/
public function getDescription(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', []);
return parent::getDescription();
}
/**
* {@inheritDoc}
*/
public function setDescription(?string $description): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', [$description]);
return parent::setDescription($description);
}
/**
* {@inheritDoc}
*/
public function getProductType(): ?\App\Entity\ProductType
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProductType', []);
return parent::getProductType();
}
/**
* {@inheritDoc}
*/
public function setProductType(?\App\Entity\ProductType $productType): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setProductType', [$productType]);
return parent::setProductType($productType);
}
/**
* {@inheritDoc}
*/
public function getProductFields(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProductFields', []);
return parent::getProductFields();
}
/**
* {@inheritDoc}
*/
public function addProductField(\App\Entity\ProductField $productField): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addProductField', [$productField]);
return parent::addProductField($productField);
}
/**
* {@inheritDoc}
*/
public function removeProductField(\App\Entity\ProductField $productField): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeProductField', [$productField]);
return parent::removeProductField($productField);
}
/**
* {@inheritDoc}
*/
public function getHold(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getHold', []);
return parent::getHold();
}
/**
* {@inheritDoc}
*/
public function setHold(?int $hold): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setHold', [$hold]);
return parent::setHold($hold);
}
/**
* {@inheritDoc}
*/
public function getProductIns(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProductIns', []);
return parent::getProductIns();
}
/**
* {@inheritDoc}
*/
public function addProductIn(\App\Entity\ProductIn $productIn): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addProductIn', [$productIn]);
return parent::addProductIn($productIn);
}
/**
* {@inheritDoc}
*/
public function removeProductIn(\App\Entity\ProductIn $productIn): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeProductIn', [$productIn]);
return parent::removeProductIn($productIn);
}
/**
* {@inheritDoc}
*/
public function getProductOuts(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProductOuts', []);
return parent::getProductOuts();
}
/**
* {@inheritDoc}
*/
public function addProductOut(\App\Entity\ProductOut $productOut): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addProductOut', [$productOut]);
return parent::addProductOut($productOut);
}
/**
* {@inheritDoc}
*/
public function removeProductOut(\App\Entity\ProductOut $productOut): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeProductOut', [$productOut]);
return parent::removeProductOut($productOut);
}
/**
* {@inheritDoc}
*/
public function __toString()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);
return parent::__toString();
}
/**
* {@inheritDoc}
*/
public function getShopStock(): ?bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShopStock', []);
return parent::getShopStock();
}
/**
* {@inheritDoc}
*/
public function setShopStock(?bool $shopStock): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setShopStock', [$shopStock]);
return parent::setShopStock($shopStock);
}
/**
* {@inheritDoc}
*/
public function getSize(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSize', []);
return parent::getSize();
}
/**
* {@inheritDoc}
*/
public function setSize(?string $size): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSize', [$size]);
return parent::setSize($size);
}
/**
* {@inheritDoc}
*/
public function getColor(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getColor', []);
return parent::getColor();
}
/**
* {@inheritDoc}
*/
public function setColor(?string $color): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setColor', [$color]);
return parent::setColor($color);
}
/**
* {@inheritDoc}
*/
public function getGsm(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getGsm', []);
return parent::getGsm();
}
/**
* {@inheritDoc}
*/
public function setGsm(?int $gsm): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setGsm', [$gsm]);
return parent::setGsm($gsm);
}
/**
* {@inheritDoc}
*/
public function getCaliperMicrons(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCaliperMicrons', []);
return parent::getCaliperMicrons();
}
/**
* {@inheritDoc}
*/
public function setCaliperMicrons(?int $CaliperMicrons): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCaliperMicrons', [$CaliperMicrons]);
return parent::setCaliperMicrons($CaliperMicrons);
}
/**
* {@inheritDoc}
*/
public function getDimension1(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDimension1', []);
return parent::getDimension1();
}
/**
* {@inheritDoc}
*/
public function setDimension1(?int $dimension1): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDimension1', [$dimension1]);
return parent::setDimension1($dimension1);
}
/**
* {@inheritDoc}
*/
public function getDimension2(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDimension2', []);
return parent::getDimension2();
}
/**
* {@inheritDoc}
*/
public function setDimension2(?int $dimension2): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDimension2', [$dimension2]);
return parent::setDimension2($dimension2);
}
/**
* {@inheritDoc}
*/
public function getBrokenRate(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBrokenRate', []);
return parent::getBrokenRate();
}
/**
* {@inheritDoc}
*/
public function setBrokenRate(?string $brokenRate): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setBrokenRate', [$brokenRate]);
return parent::setBrokenRate($brokenRate);
}
/**
* {@inheritDoc}
*/
public function getPacketRate(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPacketRate', []);
return parent::getPacketRate();
}
/**
* {@inheritDoc}
*/
public function setPacketRate(?string $packetRate): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPacketRate', [$packetRate]);
return parent::setPacketRate($packetRate);
}
/**
* {@inheritDoc}
*/
public function getPacketQty(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPacketQty', []);
return parent::getPacketQty();
}
/**
* {@inheritDoc}
*/
public function setPacketQty(?int $packetQty): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPacketQty', [$packetQty]);
return parent::setPacketQty($packetQty);
}
/**
* {@inheritDoc}
*/
public function getBulkRate(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBulkRate', []);
return parent::getBulkRate();
}
/**
* {@inheritDoc}
*/
public function setBulkRate(?string $bulkRate): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setBulkRate', [$bulkRate]);
return parent::setBulkRate($bulkRate);
}
/**
* {@inheritDoc}
*/
public function getBulkQty(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBulkQty', []);
return parent::getBulkQty();
}
/**
* {@inheritDoc}
*/
public function setBulkQty(?string $bulkQty): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setBulkQty', [$bulkQty]);
return parent::setBulkQty($bulkQty);
}
/**
* {@inheritDoc}
*/
public function getPricingUnits(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPricingUnits', []);
return parent::getPricingUnits();
}
/**
* {@inheritDoc}
*/
public function setPricingUnits(?string $pricingUnits): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPricingUnits', [$pricingUnits]);
return parent::setPricingUnits($pricingUnits);
}
/**
* {@inheritDoc}
*/
public function getSheetReelEnvelope(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSheetReelEnvelope', []);
return parent::getSheetReelEnvelope();
}
/**
* {@inheritDoc}
*/
public function setSheetReelEnvelope(?string $sheetReelEnvelope): \App\Entity\Product
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSheetReelEnvelope', [$sheetReelEnvelope]);
return parent::setSheetReelEnvelope($sheetReelEnvelope);
}
/**
* {@inheritDoc}
*/
public function getCalculatorPaperDisplayName(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCalculatorPaperDisplayName', []);
return parent::getCalculatorPaperDisplayName();
}
/**
* {@inheritDoc}
*/
public function getCalculatorPaperSearchDisplayName(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCalculatorPaperSearchDisplayName', []);
return parent::getCalculatorPaperSearchDisplayName();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTime $createdAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
return parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTime $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
}