<?php
namespace Proxies\__CG__\Eccube\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class ProductClass extends \Eccube\Entity\ProductClass 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" . 'Eccube\\Entity\\ProductClass' . "\0" . 'price01_inc_tax', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'price02_inc_tax', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'tax_rate', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'id', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'code', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'stock', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'stock_unlimited', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'sale_limit', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'price01', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'price02', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'delivery_fee', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'visible', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'create_date', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'update_date', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'currency_code', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'point_rate', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'ProductStock', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'TaxRule', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'Product', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'SaleType', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'ClassCategory1', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'ClassCategory2', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'DeliveryDuration', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'Creator'];
}
return ['__isInitialized__', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'price01_inc_tax', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'price02_inc_tax', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'tax_rate', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'id', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'code', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'stock', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'stock_unlimited', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'sale_limit', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'price01', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'price02', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'delivery_fee', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'visible', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'create_date', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'update_date', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'currency_code', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'point_rate', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'ProductStock', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'TaxRule', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'Product', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'SaleType', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'ClassCategory1', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'ClassCategory2', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'DeliveryDuration', '' . "\0" . 'Eccube\\Entity\\ProductClass' . "\0" . 'Creator'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (ProductClass $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;
}
}
};
}
}
/**
* {@inheritDoc}
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
parent::__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 formattedProductName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'formattedProductName', []);
return parent::formattedProductName();
}
/**
* {@inheritDoc}
*/
public function isEnable()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isEnable', []);
return parent::isEnable();
}
/**
* {@inheritDoc}
*/
public function setPrice01IncTax($price01_inc_tax)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPrice01IncTax', [$price01_inc_tax]);
return parent::setPrice01IncTax($price01_inc_tax);
}
/**
* {@inheritDoc}
*/
public function getPrice01IncTax()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPrice01IncTax', []);
return parent::getPrice01IncTax();
}
/**
* {@inheritDoc}
*/
public function setPrice02IncTax($price02_inc_tax)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPrice02IncTax', [$price02_inc_tax]);
return parent::setPrice02IncTax($price02_inc_tax);
}
/**
* {@inheritDoc}
*/
public function getPrice02IncTax()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPrice02IncTax', []);
return parent::getPrice02IncTax();
}
/**
* {@inheritDoc}
*/
public function getStockFind()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStockFind', []);
return parent::getStockFind();
}
/**
* {@inheritDoc}
*/
public function setTaxRate($tax_rate)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTaxRate', [$tax_rate]);
return parent::setTaxRate($tax_rate);
}
/**
* {@inheritDoc}
*/
public function getTaxRate()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTaxRate', []);
return parent::getTaxRate();
}
/**
* {@inheritDoc}
*/
public function hasClassCategory1()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'hasClassCategory1', []);
return parent::hasClassCategory1();
}
/**
* {@inheritDoc}
*/
public function hasClassCategory2()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'hasClassCategory2', []);
return parent::hasClassCategory2();
}
/**
* {@inheritDoc}
*/
public function getId()
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function setCode($code = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCode', [$code]);
return parent::setCode($code);
}
/**
* {@inheritDoc}
*/
public function getCode()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCode', []);
return parent::getCode();
}
/**
* {@inheritDoc}
*/
public function setStock($stock = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setStock', [$stock]);
return parent::setStock($stock);
}
/**
* {@inheritDoc}
*/
public function getStock()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStock', []);
return parent::getStock();
}
/**
* {@inheritDoc}
*/
public function setStockUnlimited($stockUnlimited)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setStockUnlimited', [$stockUnlimited]);
return parent::setStockUnlimited($stockUnlimited);
}
/**
* {@inheritDoc}
*/
public function isStockUnlimited()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isStockUnlimited', []);
return parent::isStockUnlimited();
}
/**
* {@inheritDoc}
*/
public function setSaleLimit($saleLimit = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSaleLimit', [$saleLimit]);
return parent::setSaleLimit($saleLimit);
}
/**
* {@inheritDoc}
*/
public function getSaleLimit()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSaleLimit', []);
return parent::getSaleLimit();
}
/**
* {@inheritDoc}
*/
public function setPrice01($price01 = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPrice01', [$price01]);
return parent::setPrice01($price01);
}
/**
* {@inheritDoc}
*/
public function getPrice01()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPrice01', []);
return parent::getPrice01();
}
/**
* {@inheritDoc}
*/
public function setPrice02($price02)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPrice02', [$price02]);
return parent::setPrice02($price02);
}
/**
* {@inheritDoc}
*/
public function getPrice02()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPrice02', []);
return parent::getPrice02();
}
/**
* {@inheritDoc}
*/
public function setDeliveryFee($deliveryFee = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeliveryFee', [$deliveryFee]);
return parent::setDeliveryFee($deliveryFee);
}
/**
* {@inheritDoc}
*/
public function getDeliveryFee()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeliveryFee', []);
return parent::getDeliveryFee();
}
/**
* {@inheritDoc}
*/
public function isVisible()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isVisible', []);
return parent::isVisible();
}
/**
* {@inheritDoc}
*/
public function setVisible($visible)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setVisible', [$visible]);
return parent::setVisible($visible);
}
/**
* {@inheritDoc}
*/
public function setCreateDate($createDate)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreateDate', [$createDate]);
return parent::setCreateDate($createDate);
}
/**
* {@inheritDoc}
*/
public function getCreateDate()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreateDate', []);
return parent::getCreateDate();
}
/**
* {@inheritDoc}
*/
public function setUpdateDate($updateDate)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdateDate', [$updateDate]);
return parent::setUpdateDate($updateDate);
}
/**
* {@inheritDoc}
*/
public function getUpdateDate()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdateDate', []);
return parent::getUpdateDate();
}
/**
* {@inheritDoc}
*/
public function getCurrencyCode()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCurrencyCode', []);
return parent::getCurrencyCode();
}
/**
* {@inheritDoc}
*/
public function setCurrencyCode($currencyCode = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCurrencyCode', [$currencyCode]);
return parent::setCurrencyCode($currencyCode);
}
/**
* {@inheritDoc}
*/
public function setProductStock(\Eccube\Entity\ProductStock $productStock = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setProductStock', [$productStock]);
return parent::setProductStock($productStock);
}
/**
* {@inheritDoc}
*/
public function getProductStock()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProductStock', []);
return parent::getProductStock();
}
/**
* {@inheritDoc}
*/
public function setTaxRule(\Eccube\Entity\TaxRule $taxRule = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTaxRule', [$taxRule]);
return parent::setTaxRule($taxRule);
}
/**
* {@inheritDoc}
*/
public function getTaxRule()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTaxRule', []);
return parent::getTaxRule();
}
/**
* {@inheritDoc}
*/
public function setProduct(\Eccube\Entity\Product $product = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setProduct', [$product]);
return parent::setProduct($product);
}
/**
* {@inheritDoc}
*/
public function getProduct()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProduct', []);
return parent::getProduct();
}
/**
* {@inheritDoc}
*/
public function setSaleType(\Eccube\Entity\Master\SaleType $saleType = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSaleType', [$saleType]);
return parent::setSaleType($saleType);
}
/**
* {@inheritDoc}
*/
public function getSaleType()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSaleType', []);
return parent::getSaleType();
}
/**
* {@inheritDoc}
*/
public function setClassCategory1(\Eccube\Entity\ClassCategory $classCategory1 = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setClassCategory1', [$classCategory1]);
return parent::setClassCategory1($classCategory1);
}
/**
* {@inheritDoc}
*/
public function getClassCategory1()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getClassCategory1', []);
return parent::getClassCategory1();
}
/**
* {@inheritDoc}
*/
public function setClassCategory2(\Eccube\Entity\ClassCategory $classCategory2 = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setClassCategory2', [$classCategory2]);
return parent::setClassCategory2($classCategory2);
}
/**
* {@inheritDoc}
*/
public function getClassCategory2()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getClassCategory2', []);
return parent::getClassCategory2();
}
/**
* {@inheritDoc}
*/
public function setDeliveryDuration(\Eccube\Entity\DeliveryDuration $deliveryDuration = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeliveryDuration', [$deliveryDuration]);
return parent::setDeliveryDuration($deliveryDuration);
}
/**
* {@inheritDoc}
*/
public function getDeliveryDuration()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeliveryDuration', []);
return parent::getDeliveryDuration();
}
/**
* {@inheritDoc}
*/
public function setCreator(\Eccube\Entity\Member $creator = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreator', [$creator]);
return parent::setCreator($creator);
}
/**
* {@inheritDoc}
*/
public function getCreator()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreator', []);
return parent::getCreator();
}
/**
* {@inheritDoc}
*/
public function setPointRate($pointRate)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPointRate', [$pointRate]);
return parent::setPointRate($pointRate);
}
/**
* {@inheritDoc}
*/
public function getPointRate()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPointRate', []);
return parent::getPointRate();
}
/**
* {@inheritDoc}
*/
public function offsetExists($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetExists', [$offset]);
return parent::offsetExists($offset);
}
/**
* {@inheritDoc}
*/
public function offsetSet($offset, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetSet', [$offset, $value]);
return parent::offsetSet($offset, $value);
}
/**
* {@inheritDoc}
*/
public function offsetGet($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetGet', [$offset]);
return parent::offsetGet($offset);
}
/**
* {@inheritDoc}
*/
public function offsetUnset($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetUnset', [$offset]);
return parent::offsetUnset($offset);
}
/**
* {@inheritDoc}
*/
public function setPropertiesFromArray(array $arrProps, array $excludeAttribute = [], \ReflectionClass $parentClass = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPropertiesFromArray', [$arrProps, $excludeAttribute, $parentClass]);
return parent::setPropertiesFromArray($arrProps, $excludeAttribute, $parentClass);
}
/**
* {@inheritDoc}
*/
public function toArray(array $excludeAttribute = ['__initializer__', '__cloner__', '__isInitialized__'], \ReflectionClass $parentClass = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', [$excludeAttribute, $parentClass]);
return parent::toArray($excludeAttribute, $parentClass);
}
/**
* {@inheritDoc}
*/
public function toNormalizedArray(array $excludeAttribute = ['__initializer__', '__cloner__', '__isInitialized__'])
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toNormalizedArray', [$excludeAttribute]);
return parent::toNormalizedArray($excludeAttribute);
}
/**
* {@inheritDoc}
*/
public function toJSON(array $excludeAttribute = ['__initializer__', '__cloner__', '__isInitialized__'])
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toJSON', [$excludeAttribute]);
return parent::toJSON($excludeAttribute);
}
/**
* {@inheritDoc}
*/
public function toXML(array $excludeAttribute = ['__initializer__', '__cloner__', '__isInitialized__'])
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toXML', [$excludeAttribute]);
return parent::toXML($excludeAttribute);
}
/**
* {@inheritDoc}
*/
public function copyProperties($srcObject, array $excludeAttribute = [])
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'copyProperties', [$srcObject, $excludeAttribute]);
return parent::copyProperties($srcObject, $excludeAttribute);
}
/**
* {@inheritDoc}
*/
public function getEntityIdentifierAsArray(\Eccube\Entity\AbstractEntity $Entity)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEntityIdentifierAsArray', [$Entity]);
return parent::getEntityIdentifierAsArray($Entity);
}
}