<?php
namespace Proxies\__CG__\EADPlataforma\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class LessonModule extends \EADPlataforma\Entity\LessonModule 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" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'id', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'deleted', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'order', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'title', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'workload', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'status', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'description', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'course', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'user', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'userDelete', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'typeDelete', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'dateDelete', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'controlRequirement', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'controlReleaseType', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'controlReleaseAfterType', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'controlDateRelease', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'controlReleasePeriod', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'controlClosePeriod'];
}
return ['__isInitialized__', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'id', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'deleted', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'order', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'title', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'workload', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'status', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'description', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'course', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'user', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'userDelete', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'typeDelete', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'dateDelete', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'controlRequirement', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'controlReleaseType', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'controlReleaseAfterType', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'controlDateRelease', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'controlReleasePeriod', '' . "\0" . 'EADPlataforma\\Entity\\LessonModule' . "\0" . 'controlClosePeriod'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (LessonModule $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 getOrder(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOrder', []);
return parent::getOrder();
}
/**
* {@inheritDoc}
*/
public function setOrder(int $order): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setOrder', [$order]);
return parent::setOrder($order);
}
/**
* {@inheritDoc}
*/
public function getTitle(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTitle', []);
return parent::getTitle();
}
/**
* {@inheritDoc}
*/
public function setTitle(string $title): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTitle', [$title]);
return parent::setTitle($title);
}
/**
* {@inheritDoc}
*/
public function getWorkload(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getWorkload', []);
return parent::getWorkload();
}
/**
* {@inheritDoc}
*/
public function setWorkload(?string $workload): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setWorkload', [$workload]);
return parent::setWorkload($workload);
}
/**
* {@inheritDoc}
*/
public function getStatus(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatus', []);
return parent::getStatus();
}
/**
* {@inheritDoc}
*/
public function setStatus(int $status): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setStatus', [$status]);
return parent::setStatus($status);
}
/**
* {@inheritDoc}
*/
public function getDescription(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', []);
return parent::getDescription();
}
/**
* {@inheritDoc}
*/
public function setDescription(?string $description): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', [$description]);
return parent::setDescription($description);
}
/**
* {@inheritDoc}
*/
public function getControlRequirement(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getControlRequirement', []);
return parent::getControlRequirement();
}
/**
* {@inheritDoc}
*/
public function setControlRequirement(int $controlRequirement): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setControlRequirement', [$controlRequirement]);
return parent::setControlRequirement($controlRequirement);
}
/**
* {@inheritDoc}
*/
public function getControlReleaseType(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getControlReleaseType', []);
return parent::getControlReleaseType();
}
/**
* {@inheritDoc}
*/
public function setControlReleaseType(int $controlReleaseType): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setControlReleaseType', [$controlReleaseType]);
return parent::setControlReleaseType($controlReleaseType);
}
/**
* {@inheritDoc}
*/
public function getControlReleaseAfterType(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getControlReleaseAfterType', []);
return parent::getControlReleaseAfterType();
}
/**
* {@inheritDoc}
*/
public function setControlReleaseAfterType(int $controlReleaseAfterType): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setControlReleaseAfterType', [$controlReleaseAfterType]);
return parent::setControlReleaseAfterType($controlReleaseAfterType);
}
/**
* {@inheritDoc}
*/
public function getControlDateRelease($dateFormat = 'Y-m-d H:i:s')
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getControlDateRelease', [$dateFormat]);
return parent::getControlDateRelease($dateFormat);
}
/**
* {@inheritDoc}
*/
public function setControlDateRelease($controlDateRelease): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setControlDateRelease', [$controlDateRelease]);
return parent::setControlDateRelease($controlDateRelease);
}
/**
* {@inheritDoc}
*/
public function getControlReleasePeriod(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getControlReleasePeriod', []);
return parent::getControlReleasePeriod();
}
/**
* {@inheritDoc}
*/
public function setControlReleasePeriod(?int $controlReleasePeriod): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setControlReleasePeriod', [$controlReleasePeriod]);
return parent::setControlReleasePeriod($controlReleasePeriod);
}
/**
* {@inheritDoc}
*/
public function getControlClosePeriod(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getControlClosePeriod', []);
return parent::getControlClosePeriod();
}
/**
* {@inheritDoc}
*/
public function setControlClosePeriod(?int $controlClosePeriod): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setControlClosePeriod', [$controlClosePeriod]);
return parent::setControlClosePeriod($controlClosePeriod);
}
/**
* {@inheritDoc}
*/
public function getCourse(): ?\EADPlataforma\Entity\Course
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCourse', []);
return parent::getCourse();
}
/**
* {@inheritDoc}
*/
public function setCourse(?\EADPlataforma\Entity\Course $course): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCourse', [$course]);
return parent::setCourse($course);
}
/**
* {@inheritDoc}
*/
public function getUser(): ?\EADPlataforma\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []);
return parent::getUser();
}
/**
* {@inheritDoc}
*/
public function setUser(?\EADPlataforma\Entity\User $user): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]);
return parent::setUser($user);
}
/**
* {@inheritDoc}
*/
public function getUserDelete(): ?\EADPlataforma\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserDelete', []);
return parent::getUserDelete();
}
/**
* {@inheritDoc}
*/
public function setUserDelete(?\EADPlataforma\Entity\User $userDelete): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUserDelete', [$userDelete]);
return parent::setUserDelete($userDelete);
}
/**
* {@inheritDoc}
*/
public function getDateDelete($dateFormat = 'Y-m-d H:i:s')
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateDelete', [$dateFormat]);
return parent::getDateDelete($dateFormat);
}
/**
* {@inheritDoc}
*/
public function setDateDelete($dateDelete): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateDelete', [$dateDelete]);
return parent::setDateDelete($dateDelete);
}
/**
* {@inheritDoc}
*/
public function individual(): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'individual', []);
return parent::individual();
}
/**
* {@inheritDoc}
*/
public function cascade(): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'cascade', []);
return parent::cascade();
}
/**
* {@inheritDoc}
*/
public function isLive(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isLive', []);
return parent::isLive();
}
/**
* {@inheritDoc}
*/
public function isOnTrash(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isOnTrash', []);
return parent::isOnTrash();
}
/**
* {@inheritDoc}
*/
public function isDeleted(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isDeleted', []);
return parent::isDeleted();
}
/**
* {@inheritDoc}
*/
public function restore(): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'restore', []);
return parent::restore();
}
/**
* {@inheritDoc}
*/
public function trash(): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'trash', []);
return parent::trash();
}
/**
* {@inheritDoc}
*/
public function delete(): \EADPlataforma\Entity\LessonModule
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'delete', []);
return parent::delete();
}
/**
* {@inheritDoc}
*/
public function isPublic(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isPublic', []);
return parent::isPublic();
}
/**
* {@inheritDoc}
*/
public function toReturn()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toReturn', []);
return parent::toReturn();
}
/**
* {@inheritDoc}
*/
public function toReturnApi(): array
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toReturnApi', []);
return parent::toReturnApi();
}
}