<?php
namespace Proxies\__CG__\Aqarmap\Bundle\ListingBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class CompoundLocation extends \Aqarmap\Bundle\ListingBundle\Entity\CompoundLocation 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" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'id', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'title', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'coordinates', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'slug', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'left', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'level', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'right', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'root', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'parent', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'children', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'translations', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'locale', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'activity', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'isCompoundLocation', 'listing', 'listings', 'type', 'location', 'v4Translations'];
}
return ['__isInitialized__', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'id', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'title', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'coordinates', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'slug', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'left', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'level', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'right', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'root', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'parent', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'children', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'translations', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'locale', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'activity', '' . "\0" . 'Aqarmap\\Bundle\\ListingBundle\\Entity\\CompoundLocation' . "\0" . 'isCompoundLocation', 'listing', 'listings', 'type', 'location', 'v4Translations'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (CompoundLocation $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 getType()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getType', []);
return parent::getType();
}
/**
* {@inheritDoc}
*/
public function setType($type): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setType', [$type]);
parent::setType($type);
}
/**
* {@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 setTitle($title)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTitle', [$title]);
return parent::setTitle($title);
}
/**
* {@inheritDoc}
*/
public function getTitle()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTitle', []);
return parent::getTitle();
}
/**
* {@inheritDoc}
*/
public function setSlug($slug)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSlug', [$slug]);
return parent::setSlug($slug);
}
/**
* {@inheritDoc}
*/
public function getSlug()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSlug', []);
return parent::getSlug();
}
/**
* {@inheritDoc}
*/
public function getLastSlug()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastSlug', []);
return parent::getLastSlug();
}
/**
* {@inheritDoc}
*/
public function setLevel($level)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLevel', [$level]);
return parent::setLevel($level);
}
/**
* {@inheritDoc}
*/
public function getLevel()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLevel', []);
return parent::getLevel();
}
/**
* {@inheritDoc}
*/
public function setLeft($left)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLeft', [$left]);
return parent::setLeft($left);
}
/**
* {@inheritDoc}
*/
public function getLeft()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLeft', []);
return parent::getLeft();
}
/**
* {@inheritDoc}
*/
public function setRight($right)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setRight', [$right]);
return parent::setRight($right);
}
/**
* {@inheritDoc}
*/
public function getRight()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRight', []);
return parent::getRight();
}
/**
* {@inheritDoc}
*/
public function setRoot($root)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setRoot', [$root]);
return parent::setRoot($root);
}
/**
* {@inheritDoc}
*/
public function getRoot()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRoot', []);
return parent::getRoot();
}
/**
* {@inheritDoc}
*/
public function setParent(\Aqarmap\Bundle\ListingBundle\Entity\CompoundLocation $parent = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setParent', [$parent]);
return parent::setParent($parent);
}
/**
* {@inheritDoc}
*/
public function getParent(): ?\Aqarmap\Bundle\ListingBundle\Entity\CompoundLocation
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getParent', []);
return parent::getParent();
}
/**
* {@inheritDoc}
*/
public function getFirstParent()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFirstParent', []);
return parent::getFirstParent();
}
/**
* {@inheritDoc}
*/
public function getEnabledParents(): array
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEnabledParents', []);
return parent::getEnabledParents();
}
/**
* {@inheritDoc}
*/
public function setChildren(\Aqarmap\Bundle\ListingBundle\Entity\CompoundLocation $child)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setChildren', [$child]);
return parent::setChildren($child);
}
/**
* {@inheritDoc}
*/
public function setTranslatableLocale($locale): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTranslatableLocale', [$locale]);
parent::setTranslatableLocale($locale);
}
/**
* {@inheritDoc}
*/
public function hasChildren()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'hasChildren', []);
return parent::hasChildren();
}
/**
* {@inheritDoc}
*/
public function addTranslation(\Aqarmap\Bundle\ListingBundle\Entity\CompoundLocationTranslation $translation)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addTranslation', [$translation]);
return parent::addTranslation($translation);
}
/**
* {@inheritDoc}
*/
public function getTranslations()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTranslations', []);
return parent::getTranslations();
}
/**
* {@inheritDoc}
*/
public function setActivity($activity)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setActivity', [$activity]);
return parent::setActivity($activity);
}
/**
* {@inheritDoc}
*/
public function getActivity()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getActivity', []);
return parent::getActivity();
}
/**
* {@inheritDoc}
*/
public function setListing(\Aqarmap\Bundle\ListingBundle\Entity\Listing $listing = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setListing', [$listing]);
return parent::setListing($listing);
}
/**
* {@inheritDoc}
*/
public function getListing()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getListing', []);
return parent::getListing();
}
/**
* {@inheritDoc}
*/
public function getCompoundLocationParentLabel()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCompoundLocationParentLabel', []);
return parent::getCompoundLocationParentLabel();
}
/**
* {@inheritDoc}
*/
public function getLocation(): ?\Aqarmap\Bundle\ListingBundle\Entity\Location
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLocation', []);
return parent::getLocation();
}
/**
* {@inheritDoc}
*/
public function setLocation(?\Aqarmap\Bundle\ListingBundle\Entity\Location $location)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLocation', [$location]);
return parent::setLocation($location);
}
/**
* {@inheritDoc}
*/
public function __toString()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);
return parent::__toString();
}
/**
* {@inheritDoc}
*/
public function getCoordinates()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCoordinates', []);
return parent::getCoordinates();
}
/**
* {@inheritDoc}
*/
public function setCoordinates($coordinates): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCoordinates', [$coordinates]);
parent::setCoordinates($coordinates);
}
/**
* {@inheritDoc}
*/
public function setV4Translations($translations = array (
))
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setV4Translations', [$translations]);
return parent::setV4Translations($translations);
}
/**
* {@inheritDoc}
*/
public function getV4Translations()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getV4Translations', []);
return parent::getV4Translations();
}
/**
* {@inheritDoc}
*/
public function setIsCompoundLocation($isCompoundLocation)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsCompoundLocation', [$isCompoundLocation]);
return parent::setIsCompoundLocation($isCompoundLocation);
}
/**
* {@inheritDoc}
*/
public function getIsCompoundLocation()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsCompoundLocation', []);
return parent::getIsCompoundLocation();
}
}