Download project

This commit is contained in:
Roman Pyrih
2024-11-20 09:09:44 +01:00
parent 547a138d6a
commit 5ff041757f
40737 changed files with 7766183 additions and 0 deletions

View File

@@ -0,0 +1,348 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class AdminFilter extends \PrestaShopBundle\Entity\AdminFilter 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" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'employee', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'shop', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'controller', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'action', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'filter', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'filterId'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'employee', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'shop', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'controller', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'action', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'filter', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'filterId'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (AdminFilter $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@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 setEmployee($employee)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmployee', [$employee]);
return parent::setEmployee($employee);
}
/**
* {@inheritDoc}
*/
public function getEmployee()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmployee', []);
return parent::getEmployee();
}
/**
* {@inheritDoc}
*/
public function setShop($shop)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setShop', [$shop]);
return parent::setShop($shop);
}
/**
* {@inheritDoc}
*/
public function getShop()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShop', []);
return parent::getShop();
}
/**
* {@inheritDoc}
*/
public function setController($controller)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setController', [$controller]);
return parent::setController($controller);
}
/**
* {@inheritDoc}
*/
public function getController()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getController', []);
return parent::getController();
}
/**
* {@inheritDoc}
*/
public function setAction($action)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAction', [$action]);
return parent::setAction($action);
}
/**
* {@inheritDoc}
*/
public function getAction()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAction', []);
return parent::getAction();
}
/**
* {@inheritDoc}
*/
public function setFilter($filter)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFilter', [$filter]);
return parent::setFilter($filter);
}
/**
* {@inheritDoc}
*/
public function getFilter()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFilter', []);
return parent::getFilter();
}
/**
* {@inheritDoc}
*/
public function getFilterId()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFilterId', []);
return parent::getFilterId();
}
/**
* {@inheritDoc}
*/
public function setFilterId($filterId)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFilterId', [$filterId]);
return parent::setFilterId($filterId);
}
/**
* {@inheritDoc}
*/
public function getProductCatalogFilter()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProductCatalogFilter', []);
return parent::getProductCatalogFilter();
}
/**
* {@inheritDoc}
*/
public function setProductCatalogFilter($filter)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setProductCatalogFilter', [$filter]);
return parent::setProductCatalogFilter($filter);
}
}

View File

@@ -0,0 +1,326 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Attribute extends \PrestaShopBundle\Entity\Attribute 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" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'attributeGroup', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'color', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'position', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'shops', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'attributeLangs'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'attributeGroup', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'color', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'position', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'shops', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'attributeLangs'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Attribute $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@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 setColor($color)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setColor', [$color]);
return parent::setColor($color);
}
/**
* {@inheritDoc}
*/
public function getColor()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getColor', []);
return parent::getColor();
}
/**
* {@inheritDoc}
*/
public function setPosition($position)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPosition', [$position]);
return parent::setPosition($position);
}
/**
* {@inheritDoc}
*/
public function getPosition()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPosition', []);
return parent::getPosition();
}
/**
* {@inheritDoc}
*/
public function setAttributeGroup(\PrestaShopBundle\Entity\AttributeGroup $attributeGroup)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAttributeGroup', [$attributeGroup]);
return parent::setAttributeGroup($attributeGroup);
}
/**
* {@inheritDoc}
*/
public function getAttributeGroup()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAttributeGroup', []);
return parent::getAttributeGroup();
}
/**
* {@inheritDoc}
*/
public function addShop(\PrestaShopBundle\Entity\Shop $shop)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addShop', [$shop]);
return parent::addShop($shop);
}
/**
* {@inheritDoc}
*/
public function removeShop(\PrestaShopBundle\Entity\Shop $shop)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeShop', [$shop]);
return parent::removeShop($shop);
}
/**
* {@inheritDoc}
*/
public function getShops()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShops', []);
return parent::getShops();
}
/**
* {@inheritDoc}
*/
public function addAttributeLang(\PrestaShopBundle\Entity\AttributeLang $attributeLang)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addAttributeLang', [$attributeLang]);
return parent::addAttributeLang($attributeLang);
}
/**
* {@inheritDoc}
*/
public function removeAttributeLang(\PrestaShopBundle\Entity\AttributeLang $attributeLang)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeAttributeLang', [$attributeLang]);
return parent::removeAttributeLang($attributeLang);
}
/**
* {@inheritDoc}
*/
public function getAttributeLangs()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAttributeLangs', []);
return parent::getAttributeLangs();
}
}

View File

@@ -0,0 +1,337 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class AttributeGroup extends \PrestaShopBundle\Entity\AttributeGroup 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" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'isColorGroup', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'groupType', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'position', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'attributes', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'shops', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'attributeGroupLangs', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'groupTypeAvailable'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'isColorGroup', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'groupType', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'position', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'attributes', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'shops', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'attributeGroupLangs', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'groupTypeAvailable'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (AttributeGroup $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@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 setIsColorGroup($isColorGroup)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsColorGroup', [$isColorGroup]);
return parent::setIsColorGroup($isColorGroup);
}
/**
* {@inheritDoc}
*/
public function getIsColorGroup()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsColorGroup', []);
return parent::getIsColorGroup();
}
/**
* {@inheritDoc}
*/
public function setGroupType($groupType)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setGroupType', [$groupType]);
return parent::setGroupType($groupType);
}
/**
* {@inheritDoc}
*/
public function getGroupType()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getGroupType', []);
return parent::getGroupType();
}
/**
* {@inheritDoc}
*/
public function setPosition($position)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPosition', [$position]);
return parent::setPosition($position);
}
/**
* {@inheritDoc}
*/
public function getPosition()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPosition', []);
return parent::getPosition();
}
/**
* {@inheritDoc}
*/
public function getAttributes(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAttributes', []);
return parent::getAttributes();
}
/**
* {@inheritDoc}
*/
public function addShop(\PrestaShopBundle\Entity\Shop $shop)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addShop', [$shop]);
return parent::addShop($shop);
}
/**
* {@inheritDoc}
*/
public function removeShop(\PrestaShopBundle\Entity\Shop $shop)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeShop', [$shop]);
return parent::removeShop($shop);
}
/**
* {@inheritDoc}
*/
public function getShops()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShops', []);
return parent::getShops();
}
/**
* {@inheritDoc}
*/
public function addAttributeGroupLang(\PrestaShopBundle\Entity\AttributeGroupLang $attributeGroupLang)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addAttributeGroupLang', [$attributeGroupLang]);
return parent::addAttributeGroupLang($attributeGroupLang);
}
/**
* {@inheritDoc}
*/
public function removeAttributeGroupLang(\PrestaShopBundle\Entity\AttributeGroupLang $attributeGroupLang)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeAttributeGroupLang', [$attributeGroupLang]);
return parent::removeAttributeGroupLang($attributeGroupLang);
}
/**
* {@inheritDoc}
*/
public function getAttributeGroupLangs()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAttributeGroupLangs', []);
return parent::getAttributeGroupLangs();
}
}

View File

@@ -0,0 +1,278 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class AttributeGroupLang extends \PrestaShopBundle\Entity\AttributeGroupLang 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" . 'PrestaShopBundle\\Entity\\AttributeGroupLang' . "\0" . 'attributeGroup', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroupLang' . "\0" . 'lang', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroupLang' . "\0" . 'name', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroupLang' . "\0" . 'publicName'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroupLang' . "\0" . 'attributeGroup', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroupLang' . "\0" . 'lang', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroupLang' . "\0" . 'name', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroupLang' . "\0" . 'publicName'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (AttributeGroupLang $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setPublicName($publicName)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPublicName', [$publicName]);
return parent::setPublicName($publicName);
}
/**
* {@inheritDoc}
*/
public function getPublicName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPublicName', []);
return parent::getPublicName();
}
/**
* {@inheritDoc}
*/
public function setAttributeGroup(\PrestaShopBundle\Entity\AttributeGroup $attributeGroup)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAttributeGroup', [$attributeGroup]);
return parent::setAttributeGroup($attributeGroup);
}
/**
* {@inheritDoc}
*/
public function getAttributeGroup()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAttributeGroup', []);
return parent::getAttributeGroup();
}
/**
* {@inheritDoc}
*/
public function setLang(\PrestaShopBundle\Entity\Lang $lang)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLang', [$lang]);
return parent::setLang($lang);
}
/**
* {@inheritDoc}
*/
public function getLang()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLang', []);
return parent::getLang();
}
}

View File

@@ -0,0 +1,256 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class AttributeLang extends \PrestaShopBundle\Entity\AttributeLang 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" . 'PrestaShopBundle\\Entity\\AttributeLang' . "\0" . 'attribute', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeLang' . "\0" . 'lang', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeLang' . "\0" . 'name'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeLang' . "\0" . 'attribute', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeLang' . "\0" . 'lang', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeLang' . "\0" . 'name'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (AttributeLang $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setAttribute(\PrestaShopBundle\Entity\Attribute $attribute)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAttribute', [$attribute]);
return parent::setAttribute($attribute);
}
/**
* {@inheritDoc}
*/
public function getAttribute()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAttribute', []);
return parent::getAttribute();
}
/**
* {@inheritDoc}
*/
public function setLang(\PrestaShopBundle\Entity\Lang $lang)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLang', [$lang]);
return parent::setLang($lang);
}
/**
* {@inheritDoc}
*/
public function getLang()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLang', []);
return parent::getLang();
}
}

View File

@@ -0,0 +1,326 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class FeatureFlag extends \PrestaShopBundle\Entity\FeatureFlag 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" . 'PrestaShopBundle\\Entity\\FeatureFlag' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\FeatureFlag' . "\0" . 'name', '' . "\0" . 'PrestaShopBundle\\Entity\\FeatureFlag' . "\0" . 'state', '' . "\0" . 'PrestaShopBundle\\Entity\\FeatureFlag' . "\0" . 'labelWording', '' . "\0" . 'PrestaShopBundle\\Entity\\FeatureFlag' . "\0" . 'labelDomain', '' . "\0" . 'PrestaShopBundle\\Entity\\FeatureFlag' . "\0" . 'descriptionWording', '' . "\0" . 'PrestaShopBundle\\Entity\\FeatureFlag' . "\0" . 'descriptionDomain'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\FeatureFlag' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\FeatureFlag' . "\0" . 'name', '' . "\0" . 'PrestaShopBundle\\Entity\\FeatureFlag' . "\0" . 'state', '' . "\0" . 'PrestaShopBundle\\Entity\\FeatureFlag' . "\0" . 'labelWording', '' . "\0" . 'PrestaShopBundle\\Entity\\FeatureFlag' . "\0" . 'labelDomain', '' . "\0" . 'PrestaShopBundle\\Entity\\FeatureFlag' . "\0" . 'descriptionWording', '' . "\0" . 'PrestaShopBundle\\Entity\\FeatureFlag' . "\0" . 'descriptionDomain'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (FeatureFlag $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
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 isEnabled(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isEnabled', []);
return parent::isEnabled();
}
/**
* {@inheritDoc}
*/
public function disable(): \PrestaShopBundle\Entity\FeatureFlag
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'disable', []);
return parent::disable();
}
/**
* {@inheritDoc}
*/
public function enable(): \PrestaShopBundle\Entity\FeatureFlag
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'enable', []);
return parent::enable();
}
/**
* {@inheritDoc}
*/
public function getLabelWording(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLabelWording', []);
return parent::getLabelWording();
}
/**
* {@inheritDoc}
*/
public function setLabelWording(string $labelWording): \PrestaShopBundle\Entity\FeatureFlag
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLabelWording', [$labelWording]);
return parent::setLabelWording($labelWording);
}
/**
* {@inheritDoc}
*/
public function getLabelDomain(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLabelDomain', []);
return parent::getLabelDomain();
}
/**
* {@inheritDoc}
*/
public function setLabelDomain(string $labelDomain): \PrestaShopBundle\Entity\FeatureFlag
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLabelDomain', [$labelDomain]);
return parent::setLabelDomain($labelDomain);
}
/**
* {@inheritDoc}
*/
public function getDescriptionWording(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescriptionWording', []);
return parent::getDescriptionWording();
}
/**
* {@inheritDoc}
*/
public function setDescriptionWording(string $descriptionWording): \PrestaShopBundle\Entity\FeatureFlag
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescriptionWording', [$descriptionWording]);
return parent::setDescriptionWording($descriptionWording);
}
/**
* {@inheritDoc}
*/
public function getDescriptionDomain(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescriptionDomain', []);
return parent::getDescriptionDomain();
}
/**
* {@inheritDoc}
*/
public function setDescriptionDomain(string $descriptionDomain): \PrestaShopBundle\Entity\FeatureFlag
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescriptionDomain', [$descriptionDomain]);
return parent::setDescriptionDomain($descriptionDomain);
}
}

View File

@@ -0,0 +1,414 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Lang extends \PrestaShopBundle\Entity\Lang 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" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'name', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'isoCode', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'languageCode', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'locale', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'dateFormatLite', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'dateFormatFull', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'isRtl', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'translations', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'shops'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'name', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'isoCode', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'languageCode', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'locale', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'dateFormatLite', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'dateFormatFull', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'isRtl', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'translations', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'shops'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Lang $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@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 setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setActive($active)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setActive', [$active]);
return parent::setActive($active);
}
/**
* {@inheritDoc}
*/
public function getActive()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getActive', []);
return parent::getActive();
}
/**
* {@inheritDoc}
*/
public function setIsoCode($isoCode)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsoCode', [$isoCode]);
return parent::setIsoCode($isoCode);
}
/**
* {@inheritDoc}
*/
public function getIsoCode()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsoCode', []);
return parent::getIsoCode();
}
/**
* {@inheritDoc}
*/
public function setLanguageCode($languageCode)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLanguageCode', [$languageCode]);
return parent::setLanguageCode($languageCode);
}
/**
* {@inheritDoc}
*/
public function getLanguageCode()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLanguageCode', []);
return parent::getLanguageCode();
}
/**
* {@inheritDoc}
*/
public function setDateFormatLite($dateFormatLite)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateFormatLite', [$dateFormatLite]);
return parent::setDateFormatLite($dateFormatLite);
}
/**
* {@inheritDoc}
*/
public function getDateFormatLite()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateFormatLite', []);
return parent::getDateFormatLite();
}
/**
* {@inheritDoc}
*/
public function setDateFormatFull($dateFormatFull)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateFormatFull', [$dateFormatFull]);
return parent::setDateFormatFull($dateFormatFull);
}
/**
* {@inheritDoc}
*/
public function getDateFormatFull()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateFormatFull', []);
return parent::getDateFormatFull();
}
/**
* {@inheritDoc}
*/
public function setIsRtl($isRtl)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsRtl', [$isRtl]);
return parent::setIsRtl($isRtl);
}
/**
* {@inheritDoc}
*/
public function getIsRtl()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsRtl', []);
return parent::getIsRtl();
}
/**
* {@inheritDoc}
*/
public function isRTL()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isRTL', []);
return parent::isRTL();
}
/**
* {@inheritDoc}
*/
public function getLocale()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLocale', []);
return parent::getLocale();
}
/**
* {@inheritDoc}
*/
public function setLocale($locale)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLocale', [$locale]);
return parent::setLocale($locale);
}
/**
* {@inheritDoc}
*/
public function addShop(\PrestaShopBundle\Entity\Shop $shop)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addShop', [$shop]);
return parent::addShop($shop);
}
/**
* {@inheritDoc}
*/
public function removeShop(\PrestaShopBundle\Entity\Shop $shop)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeShop', [$shop]);
return parent::removeShop($shop);
}
/**
* {@inheritDoc}
*/
public function getShops()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShops', []);
return parent::getShops();
}
}

View File

@@ -0,0 +1,293 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class ModuleHistory extends \PrestaShopBundle\Entity\ModuleHistory 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" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'idEmployee', '' . "\0" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'idModule', '' . "\0" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'dateAdd', '' . "\0" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'dateUpd'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'idEmployee', '' . "\0" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'idModule', '' . "\0" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'dateAdd', '' . "\0" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'dateUpd'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (ModuleHistory $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@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 setIdEmployee($idEmployee)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdEmployee', [$idEmployee]);
return parent::setIdEmployee($idEmployee);
}
/**
* {@inheritDoc}
*/
public function getIdEmployee()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdEmployee', []);
return parent::getIdEmployee();
}
/**
* {@inheritDoc}
*/
public function setIdModule($idModule)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdModule', [$idModule]);
return parent::setIdModule($idModule);
}
/**
* {@inheritDoc}
*/
public function getIdModule()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdModule', []);
return parent::getIdModule();
}
/**
* {@inheritDoc}
*/
public function setDateAdd($dateAdd)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateAdd', [$dateAdd]);
return parent::setDateAdd($dateAdd);
}
/**
* {@inheritDoc}
*/
public function getDateAdd()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateAdd', []);
return parent::getDateAdd();
}
/**
* {@inheritDoc}
*/
public function setDateUpd($dateUpd)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateUpd', [$dateUpd]);
return parent::setDateUpd($dateUpd);
}
/**
* {@inheritDoc}
*/
public function getDateUpd()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateUpd', []);
return parent::getDateUpd();
}
/**
* {@inheritDoc}
*/
public function updatedTimestamps()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'updatedTimestamps', []);
return parent::updatedTimestamps();
}
}

View File

@@ -0,0 +1,414 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class ProductDownload extends \PrestaShopBundle\Entity\ProductDownload 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" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'idProduct', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'displayFilename', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'filename', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'dateAdd', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'dateExpiration', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'nbDaysAccessible', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'nbDownloadable', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'isShareable'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'idProduct', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'displayFilename', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'filename', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'dateAdd', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'dateExpiration', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'nbDaysAccessible', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'nbDownloadable', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'isShareable'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (ProductDownload $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@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 getIdProduct()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdProduct', []);
return parent::getIdProduct();
}
/**
* {@inheritDoc}
*/
public function getDisplayFilename()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDisplayFilename', []);
return parent::getDisplayFilename();
}
/**
* {@inheritDoc}
*/
public function getFilename()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFilename', []);
return parent::getFilename();
}
/**
* {@inheritDoc}
*/
public function getDateAdd()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateAdd', []);
return parent::getDateAdd();
}
/**
* {@inheritDoc}
*/
public function getDateExpiration()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateExpiration', []);
return parent::getDateExpiration();
}
/**
* {@inheritDoc}
*/
public function getNbDaysAccessible()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNbDaysAccessible', []);
return parent::getNbDaysAccessible();
}
/**
* {@inheritDoc}
*/
public function getNbDownloadable()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNbDownloadable', []);
return parent::getNbDownloadable();
}
/**
* {@inheritDoc}
*/
public function getActive()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getActive', []);
return parent::getActive();
}
/**
* {@inheritDoc}
*/
public function getIsShareable()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsShareable', []);
return parent::getIsShareable();
}
/**
* {@inheritDoc}
*/
public function setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function setIdProduct($idProduct)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdProduct', [$idProduct]);
return parent::setIdProduct($idProduct);
}
/**
* {@inheritDoc}
*/
public function setDisplayFilename($displayFilename)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDisplayFilename', [$displayFilename]);
return parent::setDisplayFilename($displayFilename);
}
/**
* {@inheritDoc}
*/
public function setFilename($filename)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFilename', [$filename]);
return parent::setFilename($filename);
}
/**
* {@inheritDoc}
*/
public function setDateAdd(\DateTime $dateAdd)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateAdd', [$dateAdd]);
return parent::setDateAdd($dateAdd);
}
/**
* {@inheritDoc}
*/
public function setDateExpiration(\DateTime $dateExpiration)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateExpiration', [$dateExpiration]);
return parent::setDateExpiration($dateExpiration);
}
/**
* {@inheritDoc}
*/
public function setNbDaysAccessible($nbDaysAccessible)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNbDaysAccessible', [$nbDaysAccessible]);
return parent::setNbDaysAccessible($nbDaysAccessible);
}
/**
* {@inheritDoc}
*/
public function setNbDownloadable($nbDownloadable)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNbDownloadable', [$nbDownloadable]);
return parent::setNbDownloadable($nbDownloadable);
}
/**
* {@inheritDoc}
*/
public function setActive($active)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setActive', [$active]);
return parent::setActive($active);
}
/**
* {@inheritDoc}
*/
public function setIsShareable($isShareable)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsShareable', [$isShareable]);
return parent::setIsShareable($isShareable);
}
/**
* {@inheritDoc}
*/
public function updateTimestamps()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'updateTimestamps', []);
return parent::updateTimestamps();
}
}

View File

@@ -0,0 +1,370 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Shop extends \PrestaShopBundle\Entity\Shop 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" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'shopGroup', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'name', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'color', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'idCategory', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'themeName', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'deleted', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'shopUrls'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'shopGroup', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'name', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'color', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'idCategory', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'themeName', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'deleted', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'shopUrls'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Shop $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@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 setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setColor(string $color): \PrestaShopBundle\Entity\Shop
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setColor', [$color]);
return parent::setColor($color);
}
/**
* {@inheritDoc}
*/
public function getColor(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getColor', []);
return parent::getColor();
}
/**
* {@inheritDoc}
*/
public function setIdCategory($idCategory)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdCategory', [$idCategory]);
return parent::setIdCategory($idCategory);
}
/**
* {@inheritDoc}
*/
public function getIdCategory()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdCategory', []);
return parent::getIdCategory();
}
/**
* {@inheritDoc}
*/
public function setThemeName($themeName)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setThemeName', [$themeName]);
return parent::setThemeName($themeName);
}
/**
* {@inheritDoc}
*/
public function getThemeName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getThemeName', []);
return parent::getThemeName();
}
/**
* {@inheritDoc}
*/
public function setActive($active)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setActive', [$active]);
return parent::setActive($active);
}
/**
* {@inheritDoc}
*/
public function getActive()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getActive', []);
return parent::getActive();
}
/**
* {@inheritDoc}
*/
public function setDeleted($deleted)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeleted', [$deleted]);
return parent::setDeleted($deleted);
}
/**
* {@inheritDoc}
*/
public function getDeleted()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeleted', []);
return parent::getDeleted();
}
/**
* {@inheritDoc}
*/
public function setShopGroup(\PrestaShopBundle\Entity\ShopGroup $shopGroup)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setShopGroup', [$shopGroup]);
return parent::setShopGroup($shopGroup);
}
/**
* {@inheritDoc}
*/
public function getShopGroup()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShopGroup', []);
return parent::getShopGroup();
}
/**
* {@inheritDoc}
*/
public function getShopUrls(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShopUrls', []);
return parent::getShopUrls();
}
/**
* {@inheritDoc}
*/
public function hasMainUrl(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'hasMainUrl', []);
return parent::hasMainUrl();
}
}

View File

@@ -0,0 +1,359 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class ShopGroup extends \PrestaShopBundle\Entity\ShopGroup 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" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'name', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'color', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'shareCustomer', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'shareOrder', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'shareStock', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'deleted', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'shops'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'name', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'color', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'shareCustomer', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'shareOrder', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'shareStock', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'deleted', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'shops'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (ShopGroup $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@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 setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setColor(string $color): \PrestaShopBundle\Entity\ShopGroup
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setColor', [$color]);
return parent::setColor($color);
}
/**
* {@inheritDoc}
*/
public function getColor(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getColor', []);
return parent::getColor();
}
/**
* {@inheritDoc}
*/
public function setShareCustomer($shareCustomer)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setShareCustomer', [$shareCustomer]);
return parent::setShareCustomer($shareCustomer);
}
/**
* {@inheritDoc}
*/
public function getShareCustomer()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShareCustomer', []);
return parent::getShareCustomer();
}
/**
* {@inheritDoc}
*/
public function setShareOrder($shareOrder)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setShareOrder', [$shareOrder]);
return parent::setShareOrder($shareOrder);
}
/**
* {@inheritDoc}
*/
public function getShareOrder()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShareOrder', []);
return parent::getShareOrder();
}
/**
* {@inheritDoc}
*/
public function setShareStock($shareStock)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setShareStock', [$shareStock]);
return parent::setShareStock($shareStock);
}
/**
* {@inheritDoc}
*/
public function getShareStock()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShareStock', []);
return parent::getShareStock();
}
/**
* {@inheritDoc}
*/
public function setActive($active)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setActive', [$active]);
return parent::setActive($active);
}
/**
* {@inheritDoc}
*/
public function getActive()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getActive', []);
return parent::getActive();
}
/**
* {@inheritDoc}
*/
public function setDeleted($deleted)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeleted', [$deleted]);
return parent::setDeleted($deleted);
}
/**
* {@inheritDoc}
*/
public function getDeleted()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeleted', []);
return parent::getDeleted();
}
/**
* {@inheritDoc}
*/
public function getShops(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShops', []);
return parent::getShops();
}
}

View File

@@ -0,0 +1,337 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class ShopUrl extends \PrestaShopBundle\Entity\ShopUrl 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" . 'PrestaShopBundle\\Entity\\ShopUrl' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopUrl' . "\0" . 'shop', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopUrl' . "\0" . 'domain', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopUrl' . "\0" . 'domainSsl', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopUrl' . "\0" . 'physicalUri', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopUrl' . "\0" . 'virtualUri', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopUrl' . "\0" . 'main', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopUrl' . "\0" . 'active'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopUrl' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopUrl' . "\0" . 'shop', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopUrl' . "\0" . 'domain', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopUrl' . "\0" . 'domainSsl', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopUrl' . "\0" . 'physicalUri', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopUrl' . "\0" . 'virtualUri', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopUrl' . "\0" . 'main', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopUrl' . "\0" . 'active'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (ShopUrl $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
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 setDomain(string $domain): \PrestaShopBundle\Entity\ShopUrl
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDomain', [$domain]);
return parent::setDomain($domain);
}
/**
* {@inheritDoc}
*/
public function getDomain(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDomain', []);
return parent::getDomain();
}
/**
* {@inheritDoc}
*/
public function setDomainSsl(string $domainSsl): \PrestaShopBundle\Entity\ShopUrl
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDomainSsl', [$domainSsl]);
return parent::setDomainSsl($domainSsl);
}
/**
* {@inheritDoc}
*/
public function getDomainSsl(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDomainSsl', []);
return parent::getDomainSsl();
}
/**
* {@inheritDoc}
*/
public function setPhysicalUri(string $physicalUri): \PrestaShopBundle\Entity\ShopUrl
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPhysicalUri', [$physicalUri]);
return parent::setPhysicalUri($physicalUri);
}
/**
* {@inheritDoc}
*/
public function getPhysicalUri(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPhysicalUri', []);
return parent::getPhysicalUri();
}
/**
* {@inheritDoc}
*/
public function setVirtualUri(string $virtualUri): \PrestaShopBundle\Entity\ShopUrl
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setVirtualUri', [$virtualUri]);
return parent::setVirtualUri($virtualUri);
}
/**
* {@inheritDoc}
*/
public function getVirtualUri(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getVirtualUri', []);
return parent::getVirtualUri();
}
/**
* {@inheritDoc}
*/
public function setMain(bool $main): \PrestaShopBundle\Entity\ShopUrl
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMain', [$main]);
return parent::setMain($main);
}
/**
* {@inheritDoc}
*/
public function getMain(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMain', []);
return parent::getMain();
}
/**
* {@inheritDoc}
*/
public function setActive(bool $active): \PrestaShopBundle\Entity\ShopUrl
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setActive', [$active]);
return parent::setActive($active);
}
/**
* {@inheritDoc}
*/
public function getActive(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getActive', []);
return parent::getActive();
}
/**
* {@inheritDoc}
*/
public function getShop(): \PrestaShopBundle\Entity\Shop
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShop', []);
return parent::getShop();
}
}

View File

@@ -0,0 +1,502 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class StockMvt extends \PrestaShopBundle\Entity\StockMvt 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" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idStockMvt', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idStock', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idOrder', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idSupplyOrder', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idStockMvtReason', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idEmployee', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'employeeLastname', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'employeeFirstname', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'physicalQuantity', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'dateAdd', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'sign', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'priceTe', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'lastWa', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'currentWa', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'referer'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idStockMvt', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idStock', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idOrder', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idSupplyOrder', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idStockMvtReason', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idEmployee', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'employeeLastname', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'employeeFirstname', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'physicalQuantity', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'dateAdd', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'sign', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'priceTe', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'lastWa', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'currentWa', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'referer'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (StockMvt $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getIdStockMvt()
{
if ($this->__isInitialized__ === false) {
return parent::getIdStockMvt();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdStockMvt', []);
return parent::getIdStockMvt();
}
/**
* {@inheritDoc}
*/
public function setIdStock($idStock)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdStock', [$idStock]);
return parent::setIdStock($idStock);
}
/**
* {@inheritDoc}
*/
public function getIdStock()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdStock', []);
return parent::getIdStock();
}
/**
* {@inheritDoc}
*/
public function setIdOrder($idOrder)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdOrder', [$idOrder]);
return parent::setIdOrder($idOrder);
}
/**
* {@inheritDoc}
*/
public function getIdOrder()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdOrder', []);
return parent::getIdOrder();
}
/**
* {@inheritDoc}
*/
public function setIdSupplyOrder($idSupplyOrder)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdSupplyOrder', [$idSupplyOrder]);
return parent::setIdSupplyOrder($idSupplyOrder);
}
/**
* {@inheritDoc}
*/
public function getIdSupplyOrder()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdSupplyOrder', []);
return parent::getIdSupplyOrder();
}
/**
* {@inheritDoc}
*/
public function setIdStockMvtReason($idStockMvtReason)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdStockMvtReason', [$idStockMvtReason]);
return parent::setIdStockMvtReason($idStockMvtReason);
}
/**
* {@inheritDoc}
*/
public function getIdStockMvtReason()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdStockMvtReason', []);
return parent::getIdStockMvtReason();
}
/**
* {@inheritDoc}
*/
public function setIdEmployee($idEmployee)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdEmployee', [$idEmployee]);
return parent::setIdEmployee($idEmployee);
}
/**
* {@inheritDoc}
*/
public function getIdEmployee()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdEmployee', []);
return parent::getIdEmployee();
}
/**
* {@inheritDoc}
*/
public function setEmployeeLastname($employeeLastname)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmployeeLastname', [$employeeLastname]);
return parent::setEmployeeLastname($employeeLastname);
}
/**
* {@inheritDoc}
*/
public function getEmployeeLastname()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmployeeLastname', []);
return parent::getEmployeeLastname();
}
/**
* {@inheritDoc}
*/
public function setEmployeeFirstname($employeeFirstname)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmployeeFirstname', [$employeeFirstname]);
return parent::setEmployeeFirstname($employeeFirstname);
}
/**
* {@inheritDoc}
*/
public function getEmployeeFirstname()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmployeeFirstname', []);
return parent::getEmployeeFirstname();
}
/**
* {@inheritDoc}
*/
public function setPhysicalQuantity($physicalQuantity)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPhysicalQuantity', [$physicalQuantity]);
return parent::setPhysicalQuantity($physicalQuantity);
}
/**
* {@inheritDoc}
*/
public function getPhysicalQuantity()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPhysicalQuantity', []);
return parent::getPhysicalQuantity();
}
/**
* {@inheritDoc}
*/
public function setDateAdd($dateAdd)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateAdd', [$dateAdd]);
return parent::setDateAdd($dateAdd);
}
/**
* {@inheritDoc}
*/
public function getDateAdd()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateAdd', []);
return parent::getDateAdd();
}
/**
* {@inheritDoc}
*/
public function setSign($sign)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSign', [$sign]);
return parent::setSign($sign);
}
/**
* {@inheritDoc}
*/
public function getSign()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSign', []);
return parent::getSign();
}
/**
* {@inheritDoc}
*/
public function setPriceTe($priceTe)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPriceTe', [$priceTe]);
return parent::setPriceTe($priceTe);
}
/**
* {@inheritDoc}
*/
public function getPriceTe()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPriceTe', []);
return parent::getPriceTe();
}
/**
* {@inheritDoc}
*/
public function setLastWa($lastWa)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastWa', [$lastWa]);
return parent::setLastWa($lastWa);
}
/**
* {@inheritDoc}
*/
public function getLastWa()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastWa', []);
return parent::getLastWa();
}
/**
* {@inheritDoc}
*/
public function setCurrentWa($currentWa)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCurrentWa', [$currentWa]);
return parent::setCurrentWa($currentWa);
}
/**
* {@inheritDoc}
*/
public function getCurrentWa()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCurrentWa', []);
return parent::getCurrentWa();
}
/**
* {@inheritDoc}
*/
public function setReferer($referer)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setReferer', [$referer]);
return parent::setReferer($referer);
}
/**
* {@inheritDoc}
*/
public function getReferer()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getReferer', []);
return parent::getReferer();
}
}

View File

@@ -0,0 +1,359 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Tab extends \PrestaShopBundle\Entity\Tab 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" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'idParent', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'position', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'module', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'className', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'routeName', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'enabled', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'hideHostMode', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'icon', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'wording', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'wordingDomain', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'tabLangs'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'idParent', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'position', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'module', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'className', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'routeName', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'enabled', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'hideHostMode', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'icon', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'wording', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'wordingDomain', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'tabLangs'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Tab $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@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 getIdParent()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdParent', []);
return parent::getIdParent();
}
/**
* {@inheritDoc}
*/
public function getPosition()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPosition', []);
return parent::getPosition();
}
/**
* {@inheritDoc}
*/
public function getModule()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getModule', []);
return parent::getModule();
}
/**
* {@inheritDoc}
*/
public function getClassName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getClassName', []);
return parent::getClassName();
}
/**
* {@inheritDoc}
*/
public function getActive()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getActive', []);
return parent::getActive();
}
/**
* {@inheritDoc}
*/
public function getHideHostMode()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getHideHostMode', []);
return parent::getHideHostMode();
}
/**
* {@inheritDoc}
*/
public function getIcon()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIcon', []);
return parent::getIcon();
}
/**
* {@inheritDoc}
*/
public function getTabLangs()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTabLangs', []);
return parent::getTabLangs();
}
/**
* {@inheritDoc}
*/
public function getWording(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getWording', []);
return parent::getWording();
}
/**
* {@inheritDoc}
*/
public function getWordingDomain(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getWordingDomain', []);
return parent::getWordingDomain();
}
/**
* {@inheritDoc}
*/
public function setActive($active)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setActive', [$active]);
return parent::setActive($active);
}
/**
* {@inheritDoc}
*/
public function getRouteName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRouteName', []);
return parent::getRouteName();
}
/**
* {@inheritDoc}
*/
public function setRouteName($routeName)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setRouteName', [$routeName]);
return parent::setRouteName($routeName);
}
/**
* {@inheritDoc}
*/
public function isEnabled()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isEnabled', []);
return parent::isEnabled();
}
/**
* {@inheritDoc}
*/
public function setEnabled($enabled)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEnabled', [$enabled]);
return parent::setEnabled($enabled);
}
}

View File

@@ -0,0 +1,234 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class TabLang extends \PrestaShopBundle\Entity\TabLang 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" . 'PrestaShopBundle\\Entity\\TabLang' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\TabLang' . "\0" . 'lang', '' . "\0" . 'PrestaShopBundle\\Entity\\TabLang' . "\0" . 'name'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\TabLang' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\TabLang' . "\0" . 'lang', '' . "\0" . 'PrestaShopBundle\\Entity\\TabLang' . "\0" . 'name'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (TabLang $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setLang(\PrestaShopBundle\Entity\Lang $lang)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLang', [$lang]);
return parent::setLang($lang);
}
/**
* {@inheritDoc}
*/
public function getLang()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLang', []);
return parent::getLang();
}
}

View File

@@ -0,0 +1,304 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Translation extends \PrestaShopBundle\Entity\Translation 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" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'lang', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'key', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'translation', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'domain', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'theme'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'lang', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'key', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'translation', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'domain', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'theme'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Translation $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@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 getKey()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getKey', []);
return parent::getKey();
}
/**
* {@inheritDoc}
*/
public function getTranslation()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTranslation', []);
return parent::getTranslation();
}
/**
* {@inheritDoc}
*/
public function getLang()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLang', []);
return parent::getLang();
}
/**
* {@inheritDoc}
*/
public function getDomain()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDomain', []);
return parent::getDomain();
}
/**
* {@inheritDoc}
*/
public function setKey($key)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setKey', [$key]);
return parent::setKey($key);
}
/**
* {@inheritDoc}
*/
public function setTranslation($translation)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTranslation', [$translation]);
return parent::setTranslation($translation);
}
/**
* {@inheritDoc}
*/
public function setLang(\PrestaShopBundle\Entity\Lang $lang)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLang', [$lang]);
return parent::setLang($lang);
}
/**
* {@inheritDoc}
*/
public function setDomain($domain)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDomain', [$domain]);
return parent::setDomain($domain);
}
/**
* {@inheritDoc}
*/
public function getTheme()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTheme', []);
return parent::getTheme();
}
/**
* {@inheritDoc}
*/
public function setTheme($theme)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTheme', [$theme]);
return parent::setTheme($theme);
}
}

View File

@@ -0,0 +1,425 @@
<?php
namespace Proxies\__CG__\PrestaShop\Module\ProductComment\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class ProductComment extends \PrestaShop\Module\ProductComment\Entity\ProductComment 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" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'id', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'productId', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'customerId', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'guestId', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'customerName', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'title', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'content', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'grade', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'validate', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'deleted', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'dateAdd'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'id', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'productId', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'customerId', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'guestId', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'customerName', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'title', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'content', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'grade', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'validate', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'deleted', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductComment' . "\0" . 'dateAdd'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (ProductComment $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@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 getProductId()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProductId', []);
return parent::getProductId();
}
/**
* {@inheritDoc}
*/
public function setProductId($productId)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setProductId', [$productId]);
return parent::setProductId($productId);
}
/**
* {@inheritDoc}
*/
public function getCustomerId()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCustomerId', []);
return parent::getCustomerId();
}
/**
* {@inheritDoc}
*/
public function setCustomerId($customerId)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCustomerId', [$customerId]);
return parent::setCustomerId($customerId);
}
/**
* {@inheritDoc}
*/
public function getGuestId()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getGuestId', []);
return parent::getGuestId();
}
/**
* {@inheritDoc}
*/
public function setGuestId($guestId)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setGuestId', [$guestId]);
return parent::setGuestId($guestId);
}
/**
* {@inheritDoc}
*/
public function getCustomerName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCustomerName', []);
return parent::getCustomerName();
}
/**
* {@inheritDoc}
*/
public function setCustomerName($customerName)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCustomerName', [$customerName]);
return parent::setCustomerName($customerName);
}
/**
* {@inheritDoc}
*/
public function getTitle()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTitle', []);
return parent::getTitle();
}
/**
* {@inheritDoc}
*/
public function setTitle($title)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTitle', [$title]);
return parent::setTitle($title);
}
/**
* {@inheritDoc}
*/
public function getContent()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getContent', []);
return parent::getContent();
}
/**
* {@inheritDoc}
*/
public function setContent($content)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setContent', [$content]);
return parent::setContent($content);
}
/**
* {@inheritDoc}
*/
public function getGrade()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getGrade', []);
return parent::getGrade();
}
/**
* {@inheritDoc}
*/
public function setGrade($grade)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setGrade', [$grade]);
return parent::setGrade($grade);
}
/**
* {@inheritDoc}
*/
public function isValidate()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isValidate', []);
return parent::isValidate();
}
/**
* {@inheritDoc}
*/
public function setValidate($validate)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setValidate', [$validate]);
return parent::setValidate($validate);
}
/**
* {@inheritDoc}
*/
public function isDeleted()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isDeleted', []);
return parent::isDeleted();
}
/**
* {@inheritDoc}
*/
public function setDeleted($deleted)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeleted', [$deleted]);
return parent::setDeleted($deleted);
}
/**
* {@inheritDoc}
*/
public function getDateAdd()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateAdd', []);
return parent::getDateAdd();
}
/**
* {@inheritDoc}
*/
public function setDateAdd($dateAdd)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateAdd', [$dateAdd]);
return parent::setDateAdd($dateAdd);
}
/**
* {@inheritDoc}
*/
public function toArray()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', []);
return parent::toArray();
}
}

View File

@@ -0,0 +1,315 @@
<?php
namespace Proxies\__CG__\PrestaShop\Module\ProductComment\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class ProductCommentCriterion extends \PrestaShop\Module\ProductComment\Entity\ProductCommentCriterion 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" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentCriterion' . "\0" . 'id', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentCriterion' . "\0" . 'type', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentCriterion' . "\0" . 'active', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentCriterion' . "\0" . 'names', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentCriterion' . "\0" . 'categories', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentCriterion' . "\0" . 'products'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentCriterion' . "\0" . 'id', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentCriterion' . "\0" . 'type', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentCriterion' . "\0" . 'active', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentCriterion' . "\0" . 'names', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentCriterion' . "\0" . 'categories', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentCriterion' . "\0" . 'products'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (ProductCommentCriterion $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getNames()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNames', []);
return parent::getNames();
}
/**
* {@inheritDoc}
*/
public function setNames($langNames)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNames', [$langNames]);
return parent::setNames($langNames);
}
/**
* {@inheritDoc}
*/
public function getCategories()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCategories', []);
return parent::getCategories();
}
/**
* {@inheritDoc}
*/
public function setCategories($selectedCategories)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCategories', [$selectedCategories]);
return parent::setCategories($selectedCategories);
}
/**
* {@inheritDoc}
*/
public function getProducts()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProducts', []);
return parent::getProducts();
}
/**
* {@inheritDoc}
*/
public function setProducts($selectedProducts)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setProducts', [$selectedProducts]);
return parent::setProducts($selectedProducts);
}
/**
* {@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 getType()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getType', []);
return parent::getType();
}
/**
* {@inheritDoc}
*/
public function setType($type)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setType', [$type]);
return parent::setType($type);
}
/**
* {@inheritDoc}
*/
public function isActive()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isActive', []);
return parent::isActive();
}
/**
* {@inheritDoc}
*/
public function setActive($active)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setActive', [$active]);
return parent::setActive($active);
}
/**
* {@inheritDoc}
*/
public function isValid()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isValid', []);
return parent::isValid();
}
}

View File

@@ -0,0 +1,201 @@
<?php
namespace Proxies\__CG__\PrestaShop\Module\ProductComment\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class ProductCommentGrade extends \PrestaShop\Module\ProductComment\Entity\ProductCommentGrade 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" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentGrade' . "\0" . 'comment', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentGrade' . "\0" . 'criterion', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentGrade' . "\0" . 'grade'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentGrade' . "\0" . 'comment', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentGrade' . "\0" . 'criterion', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentGrade' . "\0" . 'grade'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (ProductCommentGrade $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getComment()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getComment', []);
return parent::getComment();
}
/**
* {@inheritDoc}
*/
public function getCriterion()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCriterion', []);
return parent::getCriterion();
}
}

View File

@@ -0,0 +1,205 @@
<?php
namespace Proxies\__CG__\PrestaShop\Module\ProductComment\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class ProductCommentReport extends \PrestaShop\Module\ProductComment\Entity\ProductCommentReport 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" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentReport' . "\0" . 'comment', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentReport' . "\0" . 'customerId'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentReport' . "\0" . 'comment', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentReport' . "\0" . 'customerId'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (ProductCommentReport $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getComment()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getComment', []);
return parent::getComment();
}
/**
* {@inheritDoc}
*/
public function getCustomerId()
{
if ($this->__isInitialized__ === false) {
return (int) parent::getCustomerId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCustomerId', []);
return parent::getCustomerId();
}
}

View File

@@ -0,0 +1,227 @@
<?php
namespace Proxies\__CG__\PrestaShop\Module\ProductComment\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class ProductCommentUsefulness extends \PrestaShop\Module\ProductComment\Entity\ProductCommentUsefulness 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" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentUsefulness' . "\0" . 'comment', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentUsefulness' . "\0" . 'customerId', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentUsefulness' . "\0" . 'usefulness'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentUsefulness' . "\0" . 'comment', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentUsefulness' . "\0" . 'customerId', '' . "\0" . 'PrestaShop\\Module\\ProductComment\\Entity\\ProductCommentUsefulness' . "\0" . 'usefulness'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (ProductCommentUsefulness $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getComment()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getComment', []);
return parent::getComment();
}
/**
* {@inheritDoc}
*/
public function getCustomerId()
{
if ($this->__isInitialized__ === false) {
return (int) parent::getCustomerId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCustomerId', []);
return parent::getCustomerId();
}
/**
* {@inheritDoc}
*/
public function isUsefulness()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isUsefulness', []);
return parent::isUsefulness();
}
/**
* {@inheritDoc}
*/
public function setUsefulness($usefulness)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUsefulness', [$usefulness]);
return parent::setUsefulness($usefulness);
}
}

View File

@@ -0,0 +1,326 @@
<?php
namespace Proxies\__CG__\PrestaShop\Module\PsAccounts\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class EmployeeAccount extends \PrestaShop\Module\PsAccounts\Entity\EmployeeAccount 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" . 'PrestaShop\\Module\\PsAccounts\\Entity\\EmployeeAccount' . "\0" . 'id', '' . "\0" . 'PrestaShop\\Module\\PsAccounts\\Entity\\EmployeeAccount' . "\0" . 'employeeId', '' . "\0" . 'PrestaShop\\Module\\PsAccounts\\Entity\\EmployeeAccount' . "\0" . 'email', '' . "\0" . 'PrestaShop\\Module\\PsAccounts\\Entity\\EmployeeAccount' . "\0" . 'uid', '' . "\0" . 'PrestaShop\\Module\\PsAccounts\\Entity\\EmployeeAccount' . "\0" . 'dateAdd', '' . "\0" . 'PrestaShop\\Module\\PsAccounts\\Entity\\EmployeeAccount' . "\0" . 'dateUpd'];
}
return ['__isInitialized__', '' . "\0" . 'PrestaShop\\Module\\PsAccounts\\Entity\\EmployeeAccount' . "\0" . 'id', '' . "\0" . 'PrestaShop\\Module\\PsAccounts\\Entity\\EmployeeAccount' . "\0" . 'employeeId', '' . "\0" . 'PrestaShop\\Module\\PsAccounts\\Entity\\EmployeeAccount' . "\0" . 'email', '' . "\0" . 'PrestaShop\\Module\\PsAccounts\\Entity\\EmployeeAccount' . "\0" . 'uid', '' . "\0" . 'PrestaShop\\Module\\PsAccounts\\Entity\\EmployeeAccount' . "\0" . 'dateAdd', '' . "\0" . 'PrestaShop\\Module\\PsAccounts\\Entity\\EmployeeAccount' . "\0" . 'dateUpd'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (EmployeeAccount $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()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
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()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@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 getEmployeeId()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmployeeId', []);
return parent::getEmployeeId();
}
/**
* {@inheritDoc}
*/
public function setEmployeeId($employeeId)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmployeeId', [$employeeId]);
return parent::setEmployeeId($employeeId);
}
/**
* {@inheritDoc}
*/
public function getEmail()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmail', []);
return parent::getEmail();
}
/**
* {@inheritDoc}
*/
public function setEmail($email)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmail', [$email]);
return parent::setEmail($email);
}
/**
* {@inheritDoc}
*/
public function getUid()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUid', []);
return parent::getUid();
}
/**
* {@inheritDoc}
*/
public function setUid($uid)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUid', [$uid]);
return parent::setUid($uid);
}
/**
* {@inheritDoc}
*/
public function getDateAdd()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateAdd', []);
return parent::getDateAdd();
}
/**
* {@inheritDoc}
*/
public function setDateAdd($dateAdd)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateAdd', [$dateAdd]);
return parent::setDateAdd($dateAdd);
}
/**
* {@inheritDoc}
*/
public function getDateUpd()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateUpd', []);
return parent::getDateUpd();
}
/**
* {@inheritDoc}
*/
public function setDateUpd(\DateTime $dateUpd)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateUpd', [$dateUpd]);
return parent::setDateUpd($dateUpd);
}
/**
* {@inheritDoc}
*/
public function updatedTimestamps()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'updatedTimestamps', []);
return parent::updatedTimestamps();
}
/**
* {@inheritDoc}
*/
public function toArray()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', []);
return parent::toArray();
}
}