<?php
namespace Proxies\__CG__\App\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Student extends \App\Entity\Student 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\\Student' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'imageFile', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'matricule', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'firstname', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'lastname', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'particularDisease', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'fatherName', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'motherName', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'primaryContact', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'residence', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'secondaryContact', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'otherInformations', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'birthday', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'gender', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'birthplace', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'enrolled', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'subscriptions', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'payments', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'entryClass', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'createdAt', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'updatedAt', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'imageName'];
}
return ['__isInitialized__', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'id', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'imageFile', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'matricule', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'firstname', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'lastname', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'particularDisease', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'fatherName', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'motherName', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'primaryContact', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'residence', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'secondaryContact', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'otherInformations', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'birthday', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'gender', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'birthplace', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'enrolled', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'subscriptions', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'payments', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'entryClass', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'createdAt', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'updatedAt', '' . "\0" . 'App\\Entity\\Student' . "\0" . 'imageName'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Student $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 getUpdated()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []);
return parent::getUpdated();
}
/**
* {@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 __toString(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);
return parent::__toString();
}
/**
* {@inheritDoc}
*/
public function fullName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'fullName', []);
return parent::fullName();
}
/**
* {@inheritDoc}
*/
public function setMatricule($matricule)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMatricule', [$matricule]);
return parent::setMatricule($matricule);
}
/**
* {@inheritDoc}
*/
public function getMatricule()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMatricule', []);
return parent::getMatricule();
}
/**
* {@inheritDoc}
*/
public function setParticularDisease($particularDisease)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setParticularDisease', [$particularDisease]);
return parent::setParticularDisease($particularDisease);
}
/**
* {@inheritDoc}
*/
public function getParticularDisease()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getParticularDisease', []);
return parent::getParticularDisease();
}
/**
* {@inheritDoc}
*/
public function setFatherName($fatherName)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFatherName', [$fatherName]);
return parent::setFatherName($fatherName);
}
/**
* {@inheritDoc}
*/
public function getFatherName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFatherName', []);
return parent::getFatherName();
}
/**
* {@inheritDoc}
*/
public function setMotherName($motherName)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMotherName', [$motherName]);
return parent::setMotherName($motherName);
}
/**
* {@inheritDoc}
*/
public function getMotherName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMotherName', []);
return parent::getMotherName();
}
/**
* {@inheritDoc}
*/
public function setPrimaryContact($primaryContact)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPrimaryContact', [$primaryContact]);
return parent::setPrimaryContact($primaryContact);
}
/**
* {@inheritDoc}
*/
public function getPrimaryContact()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPrimaryContact', []);
return parent::getPrimaryContact();
}
/**
* {@inheritDoc}
*/
public function setSecondaryContact($secondaryContact)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSecondaryContact', [$secondaryContact]);
return parent::setSecondaryContact($secondaryContact);
}
/**
* {@inheritDoc}
*/
public function getSecondaryContact()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSecondaryContact', []);
return parent::getSecondaryContact();
}
/**
* {@inheritDoc}
*/
public function setOtherInformations($otherInformations)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setOtherInformations', [$otherInformations]);
return parent::setOtherInformations($otherInformations);
}
/**
* {@inheritDoc}
*/
public function getOtherInformations()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOtherInformations', []);
return parent::getOtherInformations();
}
/**
* {@inheritDoc}
*/
public function setGender($gender)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setGender', [$gender]);
return parent::setGender($gender);
}
/**
* {@inheritDoc}
*/
public function getGender()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getGender', []);
return parent::getGender();
}
/**
* {@inheritDoc}
*/
public function setBirthplace($birthplace)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setBirthplace', [$birthplace]);
return parent::setBirthplace($birthplace);
}
/**
* {@inheritDoc}
*/
public function getBirthplace()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBirthplace', []);
return parent::getBirthplace();
}
/**
* {@inheritDoc}
*/
public function setLevel(\App\Entity\Level $level)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLevel', [$level]);
return parent::setLevel($level);
}
/**
* {@inheritDoc}
*/
public function getLevel()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLevel', []);
return parent::getLevel();
}
/**
* {@inheritDoc}
*/
public function setUpdated($updated)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]);
return parent::setUpdated($updated);
}
/**
* {@inheritDoc}
*/
public function getClassRoom(\App\Entity\SchoolYear $year)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getClassRoom', [$year]);
return parent::getClassRoom($year);
}
/**
* {@inheritDoc}
*/
public function getPaymentsSum(\App\Entity\SchoolYear $year)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPaymentsSum', [$year]);
return parent::getPaymentsSum($year);
}
/**
* {@inheritDoc}
*/
public function setBirthday($birthday)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setBirthday', [$birthday]);
return parent::setBirthday($birthday);
}
/**
* {@inheritDoc}
*/
public function getBirthday()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBirthday', []);
return parent::getBirthday();
}
/**
* {@inheritDoc}
*/
public function setFirstname($firstname)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFirstname', [$firstname]);
return parent::setFirstname($firstname);
}
/**
* {@inheritDoc}
*/
public function getFirstname()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFirstname', []);
return parent::getFirstname();
}
/**
* {@inheritDoc}
*/
public function setLastname($lastname)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastname', [$lastname]);
return parent::setLastname($lastname);
}
/**
* {@inheritDoc}
*/
public function getLastname()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastname', []);
return parent::getLastname();
}
/**
* {@inheritDoc}
*/
public function addMark(\App\Entity\Mark $mark)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addMark', [$mark]);
return parent::addMark($mark);
}
/**
* {@inheritDoc}
*/
public function removeMark(\App\Entity\Mark $mark)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeMark', [$mark]);
return parent::removeMark($mark);
}
/**
* {@inheritDoc}
*/
public function getMarks()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMarks', []);
return parent::getMarks();
}
/**
* {@inheritDoc}
*/
public function setProfileImagePath($profileImagePath)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setProfileImagePath', [$profileImagePath]);
return parent::setProfileImagePath($profileImagePath);
}
/**
* {@inheritDoc}
*/
public function getProfileImagePath()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProfileImagePath', []);
return parent::getProfileImagePath();
}
/**
* {@inheritDoc}
*/
public function setResidence($residence)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setResidence', [$residence]);
return parent::setResidence($residence);
}
/**
* {@inheritDoc}
*/
public function getResidence()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getResidence', []);
return parent::getResidence();
}
/**
* {@inheritDoc}
*/
public function getSubscriptions(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscriptions', []);
return parent::getSubscriptions();
}
/**
* {@inheritDoc}
*/
public function addSubscription(\App\Entity\Subscription $subscription): \App\Entity\Student
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addSubscription', [$subscription]);
return parent::addSubscription($subscription);
}
/**
* {@inheritDoc}
*/
public function removeSubscription(\App\Entity\Subscription $subscription): \App\Entity\Student
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeSubscription', [$subscription]);
return parent::removeSubscription($subscription);
}
/**
* {@inheritDoc}
*/
public function setEnrolled($enrolled)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEnrolled', [$enrolled]);
return parent::setEnrolled($enrolled);
}
/**
* {@inheritDoc}
*/
public function getEnrolled()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEnrolled', []);
return parent::getEnrolled();
}
/**
* {@inheritDoc}
*/
public function addPayment(\App\Entity\Payment $payment)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addPayment', [$payment]);
return parent::addPayment($payment);
}
/**
* {@inheritDoc}
*/
public function removePayment(\App\Entity\Payment $payment)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removePayment', [$payment]);
return parent::removePayment($payment);
}
/**
* {@inheritDoc}
*/
public function getPayments()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPayments', []);
return parent::getPayments();
}
/**
* {@inheritDoc}
*/
public function isEnrolled(): ?bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isEnrolled', []);
return parent::isEnrolled();
}
/**
* {@inheritDoc}
*/
public function getEntryClass(): ?\App\Entity\ClassRoom
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEntryClass', []);
return parent::getEntryClass();
}
/**
* {@inheritDoc}
*/
public function setEntryClass(?\App\Entity\ClassRoom $entryClass): static
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEntryClass', [$entryClass]);
return parent::setEntryClass($entryClass);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): \App\Entity\Student
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
return parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt): \App\Entity\Student
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
/**
* {@inheritDoc}
*/
public function updateTimestamp()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'updateTimestamp', []);
return parent::updateTimestamp();
}
/**
* {@inheritDoc}
*/
public function getImageName(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getImageName', []);
return parent::getImageName();
}
/**
* {@inheritDoc}
*/
public function setImageName(?string $imageName): \App\Entity\Student
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setImageName', [$imageName]);
return parent::setImageName($imageName);
}
/**
* {@inheritDoc}
*/
public function setImageFile(?\Symfony\Component\HttpFoundation\File\File $imageFile = NULL): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setImageFile', [$imageFile]);
parent::setImageFile($imageFile);
}
/**
* {@inheritDoc}
*/
public function getImageFile(): ?\Symfony\Component\HttpFoundation\File\File
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getImageFile', []);
return parent::getImageFile();
}
}