<?php
namespace Proxies\__CG__\App\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Project extends \App\Entity\Project 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__', 'number', 'schoolProjectNumber', 'status', 'collegeSort', 'schoolSort', 'doc', 'docName', 'collegeDoc', 'collegeDocName', 'attachments', 'id', 'name', 'batch', 'user', 'subject', 'college', 'category', 'level', 'year', 'property', 'updatedAt'];
}
return ['__isInitialized__', 'number', 'schoolProjectNumber', 'status', 'collegeSort', 'schoolSort', 'doc', 'docName', 'collegeDoc', 'collegeDocName', 'attachments', 'id', 'name', 'batch', 'user', 'subject', 'college', 'category', 'level', 'year', 'property', 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Project $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 getCollegeSort()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCollegeSort', []);
return parent::getCollegeSort();
}
/**
* {@inheritDoc}
*/
public function setCollegeSort($collegeSort)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCollegeSort', [$collegeSort]);
return parent::setCollegeSort($collegeSort);
}
/**
* {@inheritDoc}
*/
public function getSchoolSort()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSchoolSort', []);
return parent::getSchoolSort();
}
/**
* {@inheritDoc}
*/
public function setSchoolSort($schoolSort)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSchoolSort', [$schoolSort]);
return parent::setSchoolSort($schoolSort);
}
/**
* {@inheritDoc}
*/
public function getSchoolProjectNumber()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSchoolProjectNumber', []);
return parent::getSchoolProjectNumber();
}
/**
* {@inheritDoc}
*/
public function setSchoolProjectNumber($schoolProjectNumber)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSchoolProjectNumber', [$schoolProjectNumber]);
return parent::setSchoolProjectNumber($schoolProjectNumber);
}
/**
* {@inheritDoc}
*/
public function getStatus()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatus', []);
return parent::getStatus();
}
/**
* {@inheritDoc}
*/
public function setStatus($status)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setStatus', [$status]);
return parent::setStatus($status);
}
/**
* {@inheritDoc}
*/
public function setDoc(\Symfony\Component\HttpFoundation\File\File $doc = NULL): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDoc', [$doc]);
parent::setDoc($doc);
}
/**
* {@inheritDoc}
*/
public function getDoc(): ?\Symfony\Component\HttpFoundation\File\File
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDoc', []);
return parent::getDoc();
}
/**
* {@inheritDoc}
*/
public function getDocName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDocName', []);
return parent::getDocName();
}
/**
* {@inheritDoc}
*/
public function setDocName($docName)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDocName', [$docName]);
return parent::setDocName($docName);
}
/**
* {@inheritDoc}
*/
public function setCollegeDoc(\Symfony\Component\HttpFoundation\File\File $collegeDoc = NULL): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCollegeDoc', [$collegeDoc]);
parent::setCollegeDoc($collegeDoc);
}
/**
* {@inheritDoc}
*/
public function getCollegeDoc(): ?\Symfony\Component\HttpFoundation\File\File
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCollegeDoc', []);
return parent::getCollegeDoc();
}
/**
* {@inheritDoc}
*/
public function getCollegeDocName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCollegeDocName', []);
return parent::getCollegeDocName();
}
/**
* {@inheritDoc}
*/
public function setCollegeDocName($collegeDocName)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCollegeDocName', [$collegeDocName]);
return parent::setCollegeDocName($collegeDocName);
}
/**
* {@inheritDoc}
*/
public function getAttachments(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAttachments', []);
return parent::getAttachments();
}
/**
* {@inheritDoc}
*/
public function getCollegeName(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCollegeName', []);
return parent::getCollegeName();
}
/**
* {@inheritDoc}
*/
public function getCategoryName(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCategoryName', []);
return parent::getCategoryName();
}
/**
* {@inheritDoc}
*/
public function getLevelName(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLevelName', []);
return parent::getLevelName();
}
/**
* {@inheritDoc}
*/
public function getPropertyName(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPropertyName', []);
return parent::getPropertyName();
}
/**
* {@inheritDoc}
*/
public function getSubjectName(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubjectName', []);
return parent::getSubjectName();
}
/**
* {@inheritDoc}
*/
public function getYearName(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getYearName', []);
return parent::getYearName();
}
/**
* {@inheritDoc}
*/
public function getUserNumber(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserNumber', []);
return parent::getUserNumber();
}
/**
* {@inheritDoc}
*/
public function getUserName(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserName', []);
return parent::getUserName();
}
/**
* {@inheritDoc}
*/
public function getUserTitle(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserTitle', []);
return parent::getUserTitle();
}
/**
* {@inheritDoc}
*/
public function getUserGender(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserGender', []);
return parent::getUserGender();
}
/**
* {@inheritDoc}
*/
public function getUserMajor(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserMajor', []);
return parent::getUserMajor();
}
/**
* {@inheritDoc}
*/
public function getUserQualification(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserQualification', []);
return parent::getUserQualification();
}
/**
* {@inheritDoc}
*/
public function getUserDegree(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserDegree', []);
return parent::getUserDegree();
}
/**
* {@inheritDoc}
*/
public function getUserIdNumber(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserIdNumber', []);
return parent::getUserIdNumber();
}
/**
* {@inheritDoc}
*/
public function getUserPhone(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserPhone', []);
return parent::getUserPhone();
}
/**
* {@inheritDoc}
*/
public function getUserMobile(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserMobile', []);
return parent::getUserMobile();
}
/**
* {@inheritDoc}
*/
public function getUserEmail(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserEmail', []);
return parent::getUserEmail();
}
/**
* {@inheritDoc}
*/
public function getUserAddress(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserAddress', []);
return parent::getUserAddress();
}
/**
* {@inheritDoc}
*/
public function isNew(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isNew', []);
return parent::isNew();
}
/**
* {@inheritDoc}
*/
public function isCollegeRecommend(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isCollegeRecommend', []);
return parent::isCollegeRecommend();
}
/**
* {@inheritDoc}
*/
public function getDocDownloadName(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDocDownloadName', []);
return parent::getDocDownloadName();
}
/**
* {@inheritDoc}
*/
public function getCollegeDocDownloadName(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCollegeDocDownloadName', []);
return parent::getCollegeDocDownloadName();
}
/**
* {@inheritDoc}
*/
public function getExportName(array $nameColumns): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getExportName', [$nameColumns]);
return parent::getExportName($nameColumns);
}
/**
* {@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): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function __toString(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);
return parent::__toString();
}
/**
* {@inheritDoc}
*/
public function getNumber()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNumber', []);
return parent::getNumber();
}
/**
* {@inheritDoc}
*/
public function setNumber($number)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNumber', [$number]);
return parent::setNumber($number);
}
/**
* {@inheritDoc}
*/
public function getBatch(): ?\App\Entity\Batch
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBatch', []);
return parent::getBatch();
}
/**
* {@inheritDoc}
*/
public function setBatch(?\App\Entity\Batch $batch)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setBatch', [$batch]);
return parent::setBatch($batch);
}
/**
* {@inheritDoc}
*/
public function getUser(): ?\App\Entity\User
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []);
return parent::getUser();
}
/**
* {@inheritDoc}
*/
public function setUser(?\App\Entity\User $user)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]);
return parent::setUser($user);
}
/**
* {@inheritDoc}
*/
public function getSubject(): ?\App\Entity\Subject
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubject', []);
return parent::getSubject();
}
/**
* {@inheritDoc}
*/
public function setSubject(?\App\Entity\Subject $subject)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSubject', [$subject]);
return parent::setSubject($subject);
}
/**
* {@inheritDoc}
*/
public function getCollege(): ?\App\Entity\College
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCollege', []);
return parent::getCollege();
}
/**
* {@inheritDoc}
*/
public function setCollege(?\App\Entity\College $college)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCollege', [$college]);
return parent::setCollege($college);
}
/**
* {@inheritDoc}
*/
public function getCategory(): ?\App\Entity\Category
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCategory', []);
return parent::getCategory();
}
/**
* {@inheritDoc}
*/
public function setCategory(?\App\Entity\Category $category)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCategory', [$category]);
return parent::setCategory($category);
}
/**
* {@inheritDoc}
*/
public function getLevel(): ?\App\Entity\Level
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLevel', []);
return parent::getLevel();
}
/**
* {@inheritDoc}
*/
public function setLevel(?\App\Entity\Level $level)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLevel', [$level]);
return parent::setLevel($level);
}
/**
* {@inheritDoc}
*/
public function getYear(): ?\App\Entity\Year
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getYear', []);
return parent::getYear();
}
/**
* {@inheritDoc}
*/
public function setYear(?\App\Entity\Year $year)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setYear', [$year]);
return parent::setYear($year);
}
/**
* {@inheritDoc}
*/
public function getProperty(): ?\App\Entity\Property
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProperty', []);
return parent::getProperty();
}
/**
* {@inheritDoc}
*/
public function setProperty(?\App\Entity\Property $property)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setProperty', [$property]);
return parent::setProperty($property);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt(): ?\DateTime
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(?\DateTime $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
/**
* {@inheritDoc}
*/
public function getColumnValue(string $column): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getColumnValue', [$column]);
return parent::getColumnValue($column);
}
}