var/cache/dev/doctrine/orm/Proxies/__CG__AppFlexyShopBundleEntityStoreStore.php line 9
<?php
namespace Proxies\__CG__\App\Flexy\ShopBundle\Entity\Store;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Store extends \App\Flexy\ShopBundle\Entity\Store\Store implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'id', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'name', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'createdAt', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'description', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'city', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'user', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'cityRegion', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'storeType', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'cashBoxes', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'collectedShipments', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'shippedShipments', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'products', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'orders', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'agents', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'customers', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'cashBoxOrders', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'visits'];
}
return ['__isInitialized__', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'id', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'name', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'createdAt', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'description', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'city', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'user', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'cityRegion', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'storeType', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'cashBoxes', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'collectedShipments', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'shippedShipments', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'products', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'orders', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'agents', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'customers', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'cashBoxOrders', '' . "\0" . 'App\\Flexy\\ShopBundle\\Entity\\Store\\Store' . "\0" . 'visits'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Store $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function __toString(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);
return parent::__toString();
}
/**
* {@inheritDoc}
*/
public function getId(): ?int
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function getName(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setName(string $name): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(?\DateTimeInterface $createdAt): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
return parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getDescription(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', []);
return parent::getDescription();
}
/**
* {@inheritDoc}
*/
public function setDescription(?string $description): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', [$description]);
return parent::setDescription($description);
}
/**
* {@inheritDoc}
*/
public function getCity(): ?\App\Flexy\ShopBundle\Entity\Shipping\City
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCity', []);
return parent::getCity();
}
/**
* {@inheritDoc}
*/
public function setCity(?\App\Flexy\ShopBundle\Entity\Shipping\City $city): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCity', [$city]);
return parent::setCity($city);
}
/**
* {@inheritDoc}
*/
public function getUser(): ?\App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []);
return parent::getUser();
}
/**
* {@inheritDoc}
*/
public function setUser(\App\Entity\User $user): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]);
return parent::setUser($user);
}
/**
* {@inheritDoc}
*/
public function getCityRegion(): ?\App\Flexy\ShopBundle\Entity\Shipping\CityRegion
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCityRegion', []);
return parent::getCityRegion();
}
/**
* {@inheritDoc}
*/
public function setCityRegion(?\App\Flexy\ShopBundle\Entity\Shipping\CityRegion $cityRegion): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCityRegion', [$cityRegion]);
return parent::setCityRegion($cityRegion);
}
/**
* {@inheritDoc}
*/
public function getStoreType(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStoreType', []);
return parent::getStoreType();
}
/**
* {@inheritDoc}
*/
public function setStoreType(?string $storeType): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setStoreType', [$storeType]);
return parent::setStoreType($storeType);
}
/**
* {@inheritDoc}
*/
public function getCashBoxes(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCashBoxes', []);
return parent::getCashBoxes();
}
/**
* {@inheritDoc}
*/
public function addCashBox(\App\Flexy\ShopBundle\Entity\Shipping\CashBox $cashBox): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addCashBox', [$cashBox]);
return parent::addCashBox($cashBox);
}
/**
* {@inheritDoc}
*/
public function removeCashBox(\App\Flexy\ShopBundle\Entity\Shipping\CashBox $cashBox): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeCashBox', [$cashBox]);
return parent::removeCashBox($cashBox);
}
/**
* {@inheritDoc}
*/
public function getCollectedShipments(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCollectedShipments', []);
return parent::getCollectedShipments();
}
/**
* {@inheritDoc}
*/
public function addCollectedShipment(\App\Flexy\ShopBundle\Entity\Shipping\Shipment $collectedShipment): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addCollectedShipment', [$collectedShipment]);
return parent::addCollectedShipment($collectedShipment);
}
/**
* {@inheritDoc}
*/
public function removeCollectedShipment(\App\Flexy\ShopBundle\Entity\Shipping\Shipment $collectedShipment): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeCollectedShipment', [$collectedShipment]);
return parent::removeCollectedShipment($collectedShipment);
}
/**
* {@inheritDoc}
*/
public function getShippedShipments(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShippedShipments', []);
return parent::getShippedShipments();
}
/**
* {@inheritDoc}
*/
public function addShippedShipment(\App\Flexy\ShopBundle\Entity\Shipping\Shipment $shippedShipment): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addShippedShipment', [$shippedShipment]);
return parent::addShippedShipment($shippedShipment);
}
/**
* {@inheritDoc}
*/
public function removeShippedShipment(\App\Flexy\ShopBundle\Entity\Shipping\Shipment $shippedShipment): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeShippedShipment', [$shippedShipment]);
return parent::removeShippedShipment($shippedShipment);
}
/**
* {@inheritDoc}
*/
public function getProducts(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProducts', []);
return parent::getProducts();
}
/**
* {@inheritDoc}
*/
public function addProduct(\App\Flexy\ShopBundle\Entity\Product\Product $product): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addProduct', [$product]);
return parent::addProduct($product);
}
/**
* {@inheritDoc}
*/
public function removeProduct(\App\Flexy\ShopBundle\Entity\Product\Product $product): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeProduct', [$product]);
return parent::removeProduct($product);
}
/**
* {@inheritDoc}
*/
public function getOrders(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOrders', []);
return parent::getOrders();
}
/**
* {@inheritDoc}
*/
public function addOrder(\App\Flexy\ShopBundle\Entity\Order\Order $order): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addOrder', [$order]);
return parent::addOrder($order);
}
/**
* {@inheritDoc}
*/
public function removeOrder(\App\Flexy\ShopBundle\Entity\Order\Order $order): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeOrder', [$order]);
return parent::removeOrder($order);
}
/**
* {@inheritDoc}
*/
public function getAgents(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAgents', []);
return parent::getAgents();
}
/**
* {@inheritDoc}
*/
public function addAgent(\App\Flexy\ShopBundle\Entity\Resource\Agent $agent): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addAgent', [$agent]);
return parent::addAgent($agent);
}
/**
* {@inheritDoc}
*/
public function removeAgent(\App\Flexy\ShopBundle\Entity\Resource\Agent $agent): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeAgent', [$agent]);
return parent::removeAgent($agent);
}
/**
* {@inheritDoc}
*/
public function getCustomers(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCustomers', []);
return parent::getCustomers();
}
/**
* {@inheritDoc}
*/
public function addCustomer(\App\Flexy\ShopBundle\Entity\Customer\Customer $customer): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addCustomer', [$customer]);
return parent::addCustomer($customer);
}
/**
* {@inheritDoc}
*/
public function removeCustomer(\App\Flexy\ShopBundle\Entity\Customer\Customer $customer): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeCustomer', [$customer]);
return parent::removeCustomer($customer);
}
/**
* {@inheritDoc}
*/
public function getCashBoxOrders(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCashBoxOrders', []);
return parent::getCashBoxOrders();
}
/**
* {@inheritDoc}
*/
public function addCashBoxOrder(\App\Flexy\ShopBundle\Entity\Order\CashBoxOrder $cashBoxOrder): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addCashBoxOrder', [$cashBoxOrder]);
return parent::addCashBoxOrder($cashBoxOrder);
}
/**
* {@inheritDoc}
*/
public function removeCashBoxOrder(\App\Flexy\ShopBundle\Entity\Order\CashBoxOrder $cashBoxOrder): \App\Flexy\ShopBundle\Entity\Store\Store
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeCashBoxOrder', [$cashBoxOrder]);
return parent::removeCashBoxOrder($cashBoxOrder);
}
/**
* {@inheritDoc}
*/
public function getVisits(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getVisits', []);
return parent::getVisits();
}
/**
* {@inheritDoc}
*/
public function addVisit(\App\Flexy\ShopBundle\Entity\Customer\Visit $visit): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addVisit', [$visit]);
return parent::addVisit($visit);
}
/**
* {@inheritDoc}
*/
public function removeVisit(\App\Flexy\ShopBundle\Entity\Customer\Visit $visit): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeVisit', [$visit]);
return parent::removeVisit($visit);
}
}