<?php
namespace Proxies\__CG__\App\Entity\Channel;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Session extends \App\Entity\Channel\Session 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__', 'id', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'startAt', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'endAt', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'training', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'group', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'description', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'hasSignaturesDeactivated', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'hasCanalVisible', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'durationInCenter', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'durationInCompany', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'durationInVisio', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'durationInELearning', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'durationInExam', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'isNotificationEnabled', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'dataImportLogs', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'createdFromImport'];
}
return ['__isInitialized__', 'id', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'startAt', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'endAt', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'training', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'group', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'description', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'hasSignaturesDeactivated', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'hasCanalVisible', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'durationInCenter', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'durationInCompany', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'durationInVisio', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'durationInELearning', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'durationInExam', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'isNotificationEnabled', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'dataImportLogs', '' . "\0" . 'App\\Entity\\Channel\\Session' . "\0" . 'createdFromImport'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Session $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 getOwnerChannel(): ?\Nellapp\Bundle\SDKBundle\Channel\Entity\ChannelInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOwnerChannel', []);
return parent::getOwnerChannel();
}
/**
* {@inheritDoc}
*/
public function getStatus(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatus', []);
return parent::getStatus();
}
/**
* {@inheritDoc}
*/
public function getPlace(): ?\App\Entity\Channel\Place
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPlace', []);
return parent::getPlace();
}
/**
* {@inheritDoc}
*/
public function getSyncDisplayLabel(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSyncDisplayLabel', []);
return parent::getSyncDisplayLabel();
}
/**
* {@inheritDoc}
*/
public function getDurationInCenter(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDurationInCenter', []);
return parent::getDurationInCenter();
}
/**
* {@inheritDoc}
*/
public function setDurationInCenter(int $durationInCenter): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDurationInCenter', [$durationInCenter]);
return parent::setDurationInCenter($durationInCenter);
}
/**
* {@inheritDoc}
*/
public function getDurationInCompany(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDurationInCompany', []);
return parent::getDurationInCompany();
}
/**
* {@inheritDoc}
*/
public function setDurationInCompany(int $durationInCompany): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDurationInCompany', [$durationInCompany]);
return parent::setDurationInCompany($durationInCompany);
}
/**
* {@inheritDoc}
*/
public function getDescription(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', []);
return parent::getDescription();
}
/**
* {@inheritDoc}
*/
public function setDescription(?string $description): \App\Entity\Channel\Session
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', [$description]);
return parent::setDescription($description);
}
/**
* {@inheritDoc}
*/
public function getUserIds(): array
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserIds', []);
return parent::getUserIds();
}
/**
* {@inheritDoc}
*/
public function getTraining(): ?\App\Entity\Channel\Training
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTraining', []);
return parent::getTraining();
}
/**
* {@inheritDoc}
*/
public function setTraining(?\App\Entity\Channel\Training $training): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTraining', [$training]);
return parent::setTraining($training);
}
/**
* {@inheritDoc}
*/
public function getDurationInVisio(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDurationInVisio', []);
return parent::getDurationInVisio();
}
/**
* {@inheritDoc}
*/
public function setDurationInVisio(int $durationInVisio): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDurationInVisio', [$durationInVisio]);
return parent::setDurationInVisio($durationInVisio);
}
/**
* {@inheritDoc}
*/
public function getDurationInELearning(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDurationInELearning', []);
return parent::getDurationInELearning();
}
/**
* {@inheritDoc}
*/
public function setDurationInELearning(int $durationInELearning): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDurationInELearning', [$durationInELearning]);
return parent::setDurationInELearning($durationInELearning);
}
/**
* {@inheritDoc}
*/
public function getDurationInExam(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDurationInExam', []);
return parent::getDurationInExam();
}
/**
* {@inheritDoc}
*/
public function setDurationInExam(int $durationInExam): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDurationInExam', [$durationInExam]);
return parent::setDurationInExam($durationInExam);
}
/**
* {@inheritDoc}
*/
public function getTotalDuration(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTotalDuration', []);
return parent::getTotalDuration();
}
/**
* {@inheritDoc}
*/
public function isNotificationEnabled(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isNotificationEnabled', []);
return parent::isNotificationEnabled();
}
/**
* {@inheritDoc}
*/
public function setIsNotificationEnabled(bool $isNotificationEnabled): \App\Entity\Channel\Session
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsNotificationEnabled', [$isNotificationEnabled]);
return parent::setIsNotificationEnabled($isNotificationEnabled);
}
/**
* {@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 getStartAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStartAt', []);
return parent::getStartAt();
}
/**
* {@inheritDoc}
*/
public function setStartAt(?\DateTimeInterface $startAt): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setStartAt', [$startAt]);
return parent::setStartAt($startAt);
}
/**
* {@inheritDoc}
*/
public function getEndAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEndAt', []);
return parent::getEndAt();
}
/**
* {@inheritDoc}
*/
public function setEndAt(?\DateTimeInterface $endAt): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEndAt', [$endAt]);
return parent::setEndAt($endAt);
}
/**
* {@inheritDoc}
*/
public function getChannel(): ?\Nellapp\Bundle\SDKBundle\Channel\Entity\ChannelInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getChannel', []);
return parent::getChannel();
}
/**
* {@inheritDoc}
*/
public function getGroup(): ?\Nellapp\Bundle\SDKBundle\Channel\Entity\Group\GroupInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getGroup', []);
return parent::getGroup();
}
/**
* {@inheritDoc}
*/
public function setGroup(?\Nellapp\Bundle\SDKBundle\Channel\Entity\Group\GroupInterface $group): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setGroup', [$group]);
return parent::setGroup($group);
}
/**
* {@inheritDoc}
*/
public function getLabel(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLabel', []);
return parent::getLabel();
}
/**
* {@inheritDoc}
*/
public function getHasSignaturesDeactivated(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getHasSignaturesDeactivated', []);
return parent::getHasSignaturesDeactivated();
}
/**
* {@inheritDoc}
*/
public function setHasSignaturesDeactivated(bool $hasSignaturesDeactivated): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setHasSignaturesDeactivated', [$hasSignaturesDeactivated]);
return parent::setHasSignaturesDeactivated($hasSignaturesDeactivated);
}
/**
* {@inheritDoc}
*/
public function getHasCanalVisible(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getHasCanalVisible', []);
return parent::getHasCanalVisible();
}
/**
* {@inheritDoc}
*/
public function setHasCanalVisible(?bool $hasCanalVisible): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setHasCanalVisible', [$hasCanalVisible]);
return parent::setHasCanalVisible($hasCanalVisible);
}
/**
* {@inheritDoc}
*/
public function __toString(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);
return parent::__toString();
}
/**
* {@inheritDoc}
*/
public function getDataImportLogs(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDataImportLogs', []);
return parent::getDataImportLogs();
}
/**
* {@inheritDoc}
*/
public function addDataImportLog(\App\Entity\Channel\DataImportLog $dataImportLog): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addDataImportLog', [$dataImportLog]);
return parent::addDataImportLog($dataImportLog);
}
/**
* {@inheritDoc}
*/
public function setDataImportLogs(\Doctrine\Common\Collections\Collection $dataImportLogs): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDataImportLogs', [$dataImportLogs]);
return parent::setDataImportLogs($dataImportLogs);
}
/**
* {@inheritDoc}
*/
public function isCreatedFromImport(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isCreatedFromImport', []);
return parent::isCreatedFromImport();
}
/**
* {@inheritDoc}
*/
public function setCreatedFromImport(bool $createdFromImport): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedFromImport', [$createdFromImport]);
return parent::setCreatedFromImport($createdFromImport);
}
}