<?php
namespace Proxies\__CG__\App\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Company extends \App\Entity\Company 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\\Company' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'name', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'tvaNumber', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'capital', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'siret', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'forme', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'urssafNumber', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'fiscaliteNumber', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'ceoName', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'ceoJob', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'status', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'logo', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'endDate', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'textMail', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'mail', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'convention', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'telephoneStandard', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'address', 'bankAccounts', 'payments', 'reglements'];
}
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'name', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'tvaNumber', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'capital', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'siret', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'forme', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'urssafNumber', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'fiscaliteNumber', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'ceoName', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'ceoJob', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'status', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'logo', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'endDate', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'textMail', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'mail', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'convention', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'telephoneStandard', '' . "\0" . 'App\\Entity\\Company' . "\0" . 'address', 'bankAccounts', 'payments', 'reglements'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Company $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\Entity\Company
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getTvaNumber(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTvaNumber', []);
return parent::getTvaNumber();
}
/**
* {@inheritDoc}
*/
public function setTvaNumber(?string $tvaNumber): \App\Entity\Company
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTvaNumber', [$tvaNumber]);
return parent::setTvaNumber($tvaNumber);
}
/**
* {@inheritDoc}
*/
public function getCapital(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCapital', []);
return parent::getCapital();
}
/**
* {@inheritDoc}
*/
public function setCapital(?string $capital): \App\Entity\Company
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCapital', [$capital]);
return parent::setCapital($capital);
}
/**
* {@inheritDoc}
*/
public function getSiret(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSiret', []);
return parent::getSiret();
}
/**
* {@inheritDoc}
*/
public function setSiret(?string $siret): \App\Entity\Company
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSiret', [$siret]);
return parent::setSiret($siret);
}
/**
* {@inheritDoc}
*/
public function getForme(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getForme', []);
return parent::getForme();
}
/**
* {@inheritDoc}
*/
public function setForme(?string $forme): \App\Entity\Company
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setForme', [$forme]);
return parent::setForme($forme);
}
/**
* {@inheritDoc}
*/
public function getUrssafNumber(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUrssafNumber', []);
return parent::getUrssafNumber();
}
/**
* {@inheritDoc}
*/
public function setUrssafNumber(?string $urssafNumber): \App\Entity\Company
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUrssafNumber', [$urssafNumber]);
return parent::setUrssafNumber($urssafNumber);
}
/**
* {@inheritDoc}
*/
public function getFiscaliteNumber(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFiscaliteNumber', []);
return parent::getFiscaliteNumber();
}
/**
* {@inheritDoc}
*/
public function setFiscaliteNumber(?string $fiscaliteNumber): \App\Entity\Company
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFiscaliteNumber', [$fiscaliteNumber]);
return parent::setFiscaliteNumber($fiscaliteNumber);
}
/**
* {@inheritDoc}
*/
public function getStatus(): ?bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatus', []);
return parent::getStatus();
}
/**
* {@inheritDoc}
*/
public function setStatus(bool $status): \App\Entity\Company
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setStatus', [$status]);
return parent::setStatus($status);
}
/**
* {@inheritDoc}
*/
public function getConvention(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getConvention', []);
return parent::getConvention();
}
/**
* {@inheritDoc}
*/
public function setConvention(?string $convention): \App\Entity\Company
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setConvention', [$convention]);
return parent::setConvention($convention);
}
/**
* {@inheritDoc}
*/
public function getAddress(): ?\App\Entity\Address
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAddress', []);
return parent::getAddress();
}
/**
* {@inheritDoc}
*/
public function setAddress(?\App\Entity\Address $address): \App\Entity\Company
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAddress', [$address]);
return parent::setAddress($address);
}
/**
* {@inheritDoc}
*/
public function getBankAccounts()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBankAccounts', []);
return parent::getBankAccounts();
}
/**
* {@inheritDoc}
*/
public function setBankAccounts($bankAccounts): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setBankAccounts', [$bankAccounts]);
parent::setBankAccounts($bankAccounts);
}
/**
* {@inheritDoc}
*/
public function getCeoName(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCeoName', []);
return parent::getCeoName();
}
/**
* {@inheritDoc}
*/
public function setCeoName(?string $ceoName): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCeoName', [$ceoName]);
parent::setCeoName($ceoName);
}
/**
* {@inheritDoc}
*/
public function getCeoJob(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCeoJob', []);
return parent::getCeoJob();
}
/**
* {@inheritDoc}
*/
public function setCeoJob(?string $ceoJob): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCeoJob', [$ceoJob]);
parent::setCeoJob($ceoJob);
}
/**
* {@inheritDoc}
*/
public function isEndDate()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isEndDate', []);
return parent::isEndDate();
}
/**
* {@inheritDoc}
*/
public function setEndDate($endDate)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEndDate', [$endDate]);
return parent::setEndDate($endDate);
}
/**
* {@inheritDoc}
*/
public function getLogo()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLogo', []);
return parent::getLogo();
}
/**
* {@inheritDoc}
*/
public function getPayments()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPayments', []);
return parent::getPayments();
}
/**
* {@inheritDoc}
*/
public function setPayments($payments): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPayments', [$payments]);
parent::setPayments($payments);
}
/**
* {@inheritDoc}
*/
public function setLogo($logo): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLogo', [$logo]);
parent::setLogo($logo);
}
/**
* {@inheritDoc}
*/
public function getPrefix()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPrefix', []);
return parent::getPrefix();
}
/**
* {@inheritDoc}
*/
public function addBankAccount(\App\Entity\BankAccount $bankAccount)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addBankAccount', [$bankAccount]);
return parent::addBankAccount($bankAccount);
}
/**
* {@inheritDoc}
*/
public function addPayment(\App\Entity\PaymentType $paymentType)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addPayment', [$paymentType]);
return parent::addPayment($paymentType);
}
/**
* {@inheritDoc}
*/
public function removePayment(\App\Entity\PaymentType $paymentType)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removePayment', [$paymentType]);
return parent::removePayment($paymentType);
}
/**
* {@inheritDoc}
*/
public function removeBankAccount(\App\Entity\BankAccount $bankAccount)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeBankAccount', [$bankAccount]);
return parent::removeBankAccount($bankAccount);
}
/**
* {@inheritDoc}
*/
public function getSepaBankAccount()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSepaBankAccount', []);
return parent::getSepaBankAccount();
}
/**
* {@inheritDoc}
*/
public function getCBPayment()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCBPayment', []);
return parent::getCBPayment();
}
/**
* {@inheritDoc}
*/
public function getEspecePayment()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEspecePayment', []);
return parent::getEspecePayment();
}
/**
* {@inheritDoc}
*/
public function getChequePayment()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getChequePayment', []);
return parent::getChequePayment();
}
/**
* {@inheritDoc}
*/
public function getTelephoneStandard(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTelephoneStandard', []);
return parent::getTelephoneStandard();
}
/**
* {@inheritDoc}
*/
public function setTelephoneStandard(string $telephoneStandard): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTelephoneStandard', [$telephoneStandard]);
parent::setTelephoneStandard($telephoneStandard);
}
/**
* {@inheritDoc}
*/
public function getTextMail()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTextMail', []);
return parent::getTextMail();
}
/**
* {@inheritDoc}
*/
public function setTextMail($textMail): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTextMail', [$textMail]);
parent::setTextMail($textMail);
}
/**
* {@inheritDoc}
*/
public function getReglements()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getReglements', []);
return parent::getReglements();
}
/**
* {@inheritDoc}
*/
public function setReglements($reglements): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setReglements', [$reglements]);
parent::setReglements($reglements);
}
/**
* {@inheritDoc}
*/
public function getMail()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMail', []);
return parent::getMail();
}
/**
* {@inheritDoc}
*/
public function setMail($mail): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMail', [$mail]);
parent::setMail($mail);
}
}