<?php
namespace Proxies\__CG__\App\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Zone extends \App\Entity\Zone implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'name', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'description', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'zoneLocalizations', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'lft', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'rgt', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'rootId', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'level', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'children', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'deletedAt', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'parent', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'user', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'type', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'customers', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'networks', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'readOnly', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'agence'];
}
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'name', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'description', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'zoneLocalizations', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'lft', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'rgt', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'rootId', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'level', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'children', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'deletedAt', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'parent', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'user', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'type', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'customers', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'networks', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'readOnly', '' . "\0" . 'App\\Entity\\Zone' . "\0" . 'agence'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Zone $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
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 setDescription($description)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', [$description]);
return parent::setDescription($description);
}
/**
* {@inheritDoc}
*/
public function getDescription()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', []);
return parent::getDescription();
}
/**
* {@inheritDoc}
*/
public function getLft()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLft', []);
return parent::getLft();
}
/**
* {@inheritDoc}
*/
public function setLft($lft)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLft', [$lft]);
return parent::setLft($lft);
}
/**
* {@inheritDoc}
*/
public function getRgt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRgt', []);
return parent::getRgt();
}
/**
* {@inheritDoc}
*/
public function setRgt($rgt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setRgt', [$rgt]);
return parent::setRgt($rgt);
}
/**
* {@inheritDoc}
*/
public function getRootId()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRootId', []);
return parent::getRootId();
}
/**
* {@inheritDoc}
*/
public function setRootId($rootId)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setRootId', [$rootId]);
return parent::setRootId($rootId);
}
/**
* {@inheritDoc}
*/
public function getLevel()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLevel', []);
return parent::getLevel();
}
/**
* {@inheritDoc}
*/
public function setLevel($level)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLevel', [$level]);
return parent::setLevel($level);
}
/**
* {@inheritDoc}
*/
public function getParent()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getParent', []);
return parent::getParent();
}
/**
* {@inheritDoc}
*/
public function setParent($parent)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setParent', [$parent]);
return parent::setParent($parent);
}
/**
* {@inheritDoc}
*/
public function getChildren()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getChildren', []);
return parent::getChildren();
}
/**
* {@inheritDoc}
*/
public function addChildren(\App\Entity\Zone $child)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addChildren', [$child]);
return parent::addChildren($child);
}
/**
* {@inheritDoc}
*/
public function getZoneLocalizations()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getZoneLocalizations', []);
return parent::getZoneLocalizations();
}
/**
* {@inheritDoc}
*/
public function addZoneLocalizations(\App\Entity\ZoneLocalization $zoneLocalizations)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addZoneLocalizations', [$zoneLocalizations]);
return parent::addZoneLocalizations($zoneLocalizations);
}
/**
* {@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 __toString()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);
return parent::__toString();
}
/**
* {@inheritDoc}
*/
public function getCustomers()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCustomers', []);
return parent::getCustomers();
}
/**
* {@inheritDoc}
*/
public function addCustomers(\App\Entity\Customer $customer)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addCustomers', [$customer]);
return parent::addCustomers($customer);
}
/**
* {@inheritDoc}
*/
public function removeCustomers(\App\Entity\Customer $customer)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeCustomers', [$customer]);
return parent::removeCustomers($customer);
}
/**
* {@inheritDoc}
*/
public function setCustomers($customers)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCustomers', [$customers]);
return parent::setCustomers($customers);
}
/**
* {@inheritDoc}
*/
public function getNetworks()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNetworks', []);
return parent::getNetworks();
}
/**
* {@inheritDoc}
*/
public function setNetworks(\App\Entity\Network $networks)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNetworks', [$networks]);
return parent::setNetworks($networks);
}
/**
* {@inheritDoc}
*/
public function addNetworks(\App\Entity\Network $network)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addNetworks', [$network]);
return parent::addNetworks($network);
}
/**
* {@inheritDoc}
*/
public function removeNetworks(\App\Entity\Network $network)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeNetworks', [$network]);
return parent::removeNetworks($network);
}
/**
* {@inheritDoc}
*/
public function getUser()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []);
return parent::getUser();
}
/**
* {@inheritDoc}
*/
public function setUser(\App\Entity\Users $user): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]);
parent::setUser($user);
}
/**
* {@inheritDoc}
*/
public function addUser(\App\Entity\Users $user)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addUser', [$user]);
return parent::addUser($user);
}
/**
* {@inheritDoc}
*/
public function addChild(\App\Entity\Zone $child)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addChild', [$child]);
return parent::addChild($child);
}
/**
* {@inheritDoc}
*/
public function removeChild(\App\Entity\Zone $child)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeChild', [$child]);
return parent::removeChild($child);
}
/**
* {@inheritDoc}
*/
public function addZoneLocalization(\App\Entity\ZoneLocalization $zoneLocalization)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addZoneLocalization', [$zoneLocalization]);
return parent::addZoneLocalization($zoneLocalization);
}
/**
* {@inheritDoc}
*/
public function removeZoneLocalization(\App\Entity\ZoneLocalization $zoneLocalization)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeZoneLocalization', [$zoneLocalization]);
return parent::removeZoneLocalization($zoneLocalization);
}
/**
* {@inheritDoc}
*/
public function addCustomer(\App\Entity\Customer $customer)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addCustomer', [$customer]);
return parent::addCustomer($customer);
}
/**
* {@inheritDoc}
*/
public function removeCustomer(\App\Entity\Customer $customer)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeCustomer', [$customer]);
return parent::removeCustomer($customer);
}
/**
* {@inheritDoc}
*/
public function addNetwork(\App\Entity\Network $network)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addNetwork', [$network]);
return parent::addNetwork($network);
}
/**
* {@inheritDoc}
*/
public function removeNetwork(\App\Entity\Network $network)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeNetwork', [$network]);
return parent::removeNetwork($network);
}
/**
* {@inheritDoc}
*/
public function addReadOnly($readOnly)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addReadOnly', [$readOnly]);
return parent::addReadOnly($readOnly);
}
/**
* {@inheritDoc}
*/
public function removeReadOnly($readOnly)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeReadOnly', [$readOnly]);
return parent::removeReadOnly($readOnly);
}
/**
* {@inheritDoc}
*/
public function getReadOnly()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getReadOnly', []);
return parent::getReadOnly();
}
/**
* {@inheritDoc}
*/
public function removeUser(\App\Entity\Users $user)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeUser', [$user]);
return parent::removeUser($user);
}
/**
* {@inheritDoc}
*/
public function getDeletedAt(): ?\DateTime
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeletedAt', []);
return parent::getDeletedAt();
}
/**
* {@inheritDoc}
*/
public function setDeletedAt(?\DateTime $deletedAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeletedAt', [$deletedAt]);
parent::setDeletedAt($deletedAt);
}
/**
* {@inheritDoc}
*/
public function getAgence(): ?\App\Entity\Agence
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAgence', []);
return parent::getAgence();
}
/**
* {@inheritDoc}
*/
public function setAgence(?\App\Entity\Agence $agence): \App\Entity\Zone
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAgence', [$agence]);
return parent::setAgence($agence);
}
}