<?php
namespace Proxies\__CG__\App\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class BFFestival extends \App\Entity\BFFestival 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\\BFFestival' . "\0" . 'id', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'name', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'editions', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'description', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'owner', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'administrators', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'BFAdminLicences', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'route', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'subscriptions', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'mails', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'creationdate', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'challenges', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'orderfeebf', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'stripeaccountid'];
}
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'id', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'name', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'editions', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'description', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'owner', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'administrators', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'BFAdminLicences', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'route', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'subscriptions', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'mails', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'creationdate', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'challenges', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'orderfeebf', '' . "\0" . 'App\\Entity\\BFFestival' . "\0" . 'stripeaccountid'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (BFFestival $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(): ?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\Entity\BFFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getEditions(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEditions', []);
return parent::getEditions();
}
/**
* {@inheritDoc}
*/
public function addEdition(\App\Entity\BFEdition $edition): \App\Entity\BFFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addEdition', [$edition]);
return parent::addEdition($edition);
}
/**
* {@inheritDoc}
*/
public function removeEdition(\App\Entity\BFEdition $edition): \App\Entity\BFFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeEdition', [$edition]);
return parent::removeEdition($edition);
}
/**
* {@inheritDoc}
*/
public function getDescription(): ?\App\Entity\BFDescriptionFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', []);
return parent::getDescription();
}
/**
* {@inheritDoc}
*/
public function setDescription(\App\Entity\BFDescriptionFestival $description): \App\Entity\BFFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', [$description]);
return parent::setDescription($description);
}
/**
* {@inheritDoc}
*/
public function getOwner(): ?\App\Entity\BFUser
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOwner', []);
return parent::getOwner();
}
/**
* {@inheritDoc}
*/
public function setOwner(?\App\Entity\BFUser $owner): \App\Entity\BFFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setOwner', [$owner]);
return parent::setOwner($owner);
}
/**
* {@inheritDoc}
*/
public function getAdministrators(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAdministrators', []);
return parent::getAdministrators();
}
/**
* {@inheritDoc}
*/
public function addAdministrator(\App\Entity\BFUser $administrator): \App\Entity\BFFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addAdministrator', [$administrator]);
return parent::addAdministrator($administrator);
}
/**
* {@inheritDoc}
*/
public function removeAdministrator(\App\Entity\BFUser $administrator): \App\Entity\BFFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeAdministrator', [$administrator]);
return parent::removeAdministrator($administrator);
}
/**
* {@inheritDoc}
*/
public function getBFAdminLicences(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBFAdminLicences', []);
return parent::getBFAdminLicences();
}
/**
* {@inheritDoc}
*/
public function addBFAdminLicence(\App\Entity\BFAdminLicences $bFAdminLicence): \App\Entity\BFFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addBFAdminLicence', [$bFAdminLicence]);
return parent::addBFAdminLicence($bFAdminLicence);
}
/**
* {@inheritDoc}
*/
public function removeBFAdminLicence(\App\Entity\BFAdminLicences $bFAdminLicence): \App\Entity\BFFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeBFAdminLicence', [$bFAdminLicence]);
return parent::removeBFAdminLicence($bFAdminLicence);
}
/**
* {@inheritDoc}
*/
public function getCountActive(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCountActive', []);
return parent::getCountActive();
}
/**
* {@inheritDoc}
*/
public function getRoute(): ?\App\Entity\BFRouting
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRoute', []);
return parent::getRoute();
}
/**
* {@inheritDoc}
*/
public function setRoute(?\App\Entity\BFRouting $route): \App\Entity\BFFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setRoute', [$route]);
return parent::setRoute($route);
}
/**
* {@inheritDoc}
*/
public function getSubscriptions(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscriptions', []);
return parent::getSubscriptions();
}
/**
* {@inheritDoc}
*/
public function addSubscription(\App\Entity\BFSubscription $subscription): \App\Entity\BFFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addSubscription', [$subscription]);
return parent::addSubscription($subscription);
}
/**
* {@inheritDoc}
*/
public function removeSubscription(\App\Entity\BFSubscription $subscription): \App\Entity\BFFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeSubscription', [$subscription]);
return parent::removeSubscription($subscription);
}
/**
* {@inheritDoc}
*/
public function getMails(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMails', []);
return parent::getMails();
}
/**
* {@inheritDoc}
*/
public function addMail(\App\Entity\BFMailFestival $mail): \App\Entity\BFFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addMail', [$mail]);
return parent::addMail($mail);
}
/**
* {@inheritDoc}
*/
public function removeMail(\App\Entity\BFMailFestival $mail): \App\Entity\BFFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeMail', [$mail]);
return parent::removeMail($mail);
}
/**
* {@inheritDoc}
*/
public function getCreationdate(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreationdate', []);
return parent::getCreationdate();
}
/**
* {@inheritDoc}
*/
public function setCreationdate(?\DateTimeInterface $creationdate): \App\Entity\BFFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreationdate', [$creationdate]);
return parent::setCreationdate($creationdate);
}
/**
* {@inheritDoc}
*/
public function getChallenges(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getChallenges', []);
return parent::getChallenges();
}
/**
* {@inheritDoc}
*/
public function addChallenge(\App\Entity\BFChallenge $challenge): \App\Entity\BFFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addChallenge', [$challenge]);
return parent::addChallenge($challenge);
}
/**
* {@inheritDoc}
*/
public function removeChallenge(\App\Entity\BFChallenge $challenge): \App\Entity\BFFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeChallenge', [$challenge]);
return parent::removeChallenge($challenge);
}
/**
* {@inheritDoc}
*/
public function getNamelist()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNamelist', []);
return parent::getNamelist();
}
/**
* {@inheritDoc}
*/
public function getOrderfeebf(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOrderfeebf', []);
return parent::getOrderfeebf();
}
/**
* {@inheritDoc}
*/
public function setOrderfeebf(?int $orderfeebf): \App\Entity\BFFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setOrderfeebf', [$orderfeebf]);
return parent::setOrderfeebf($orderfeebf);
}
/**
* {@inheritDoc}
*/
public function getStripeaccountid(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStripeaccountid', []);
return parent::getStripeaccountid();
}
/**
* {@inheritDoc}
*/
public function setStripeaccountid(?string $stripeaccountid): \App\Entity\BFFestival
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setStripeaccountid', [$stripeaccountid]);
return parent::setStripeaccountid($stripeaccountid);
}
/**
* {@inheritDoc}
*/
public function offsetExists($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetExists', [$offset]);
return parent::offsetExists($offset);
}
/**
* {@inheritDoc}
*/
public function offsetSet($offset, $value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetSet', [$offset, $value]);
return parent::offsetSet($offset, $value);
}
/**
* {@inheritDoc}
*/
public function offsetGet($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetGet', [$offset]);
return parent::offsetGet($offset);
}
/**
* {@inheritDoc}
*/
public function offsetUnset($offset)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetUnset', [$offset]);
return parent::offsetUnset($offset);
}
}