<?php
namespace App\Entity\Users;
use App\Entity\Educational\Course;
use App\Entity\Educational\Discipline;
use App\Entity\Educational\Serie;
use Bo\ReportBundle\Entity\ReportVideo;
use Bo\SubscriptionBundle\Entity\Offer;
use Bo\SubscriptionBundle\Entity\OfferHistory;
use App\Entity\Users\Parents;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Mgilet\NotificationBundle\NotifiableInterface;
use Symfony\Component\Serializer\Annotation\Groups;
use Symfony\Component\Validator\Constraints as Assert;
use App\Entity\Users;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
/**
* @ORM\Entity(repositoryClass="App\Repository\Users\ChildRepository")
* @ORM\HasLifecycleCallbacks
* @UniqueEntity(fields={"email"},repositoryMethod="findByUniqueCriteria")
*
*/
class Child extends User
{
private $idOption;
/**
* @var Course $course
*
* @ORM\ManyToOne(targetEntity="App\Entity\Educational\Course", inversedBy="users", cascade={"persist"})
* @ORM\JoinColumn(name="course_id", referencedColumnName="id")
* @Assert\NotNull(message="Veuillez choisir une classe")
* @Assert\Valid()
* @Groups({"api"})
*/
protected $course;
/**
* @var Serie $serie
* @ORM\ManyToOne(targetEntity="App\Entity\Educational\Serie")
* @Groups({"api"})
*/
protected $serie;
/**
* @var string $serie
* @ORM\Column(name="serie",length=255,nullable=true)
*/
private $seriet;
/**
* @var $role
* @ORM\Column(name="roles",type="array")
*/
protected $roles;
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id;
/**
* @var string $academy
*
* @ORM\Column(name="academy", type="string", length=3, nullable=true)
*/
private $academy;
/*
* @ORM\OneToMany(targetEntity="Bilan",mappedBy="student")
* @ORM\OrderBy({"created"="desc"})
*/
private $bilans;
/*
* @ORM\OneToMany(targetEntity="SessionStudent",mappedBy="student")
*
*/
private $sessions;
/*
* @ORM\OneToMany(targetEntity="OptionsStudent",mappedBy="student")
*
*/
private $optionsStudent;
/*
* @ORM\OneToMany(targetEntity="AbstractUserActivity", mappedBy="user",fetch="LAZY")
* @ORM\OrderBy({"updated"="desc"})
*/
private $activities;
/**
* @var string $news
*
* @ORM\Column(name="news", type="boolean", nullable=true)
*/
private $news;
/**
* @var string $news
*
* @ORM\Column(name="is_bilan", type="boolean", nullable=true)
*/
private $isBilan;
/**
* @var string $news
*
* @ORM\Column(name="bilan_date", type="datetime", nullable=true)
*/
private $bilanDate;
/**
* @var \DateTime
* @ORM\Column(name="next_scholar_year", type="date",nullable=true)
*/
private $nextScholarYear;
/**
* @var \DateTime
* @ORM\Column(type="datetime",nullable=true)
*/
private $displayPopinNextScholarYear;
/**
* @var string $profExpressId
*
* @ORM\Column(name="prof_express_id", type="integer", nullable=true)
*/
private $profExpressId;
/**
* @var string $phoneProfExpress
*
* @ORM\Column(type="string", nullable=true)
*/
private $phoneProfExpress;
/**
* ??
*/
private $updateOffer;
/***************************************** Association *************************************/
/**
* @ORM\OneToMany(targetEntity="StudentsParents", mappedBy="student")
*
*/
private $parents;
/*
* @ORM\OneToMany(targetEntity="\Bo\SubscriptionBundle\Entity\Target", mappedBy="student")
* @ORM\OrderBy({"updated"="desc"})
*/
private $targertOffer;
/*
* @ORM\OneToMany(targetEntity="Replay",mappedBy="student",fetch="LAZY")
* @ORM\OrderBy({"created"="desc"})
*/
private $replays;
/**
* @ORM\Column(name="related_email", type="string",length=255, nullable=true)
*/
private $relatedEmail;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Educational\SchoolBag\ReviewProgram",mappedBy="student")
* @ORM\OrderBy({"day"="desc"})
*/
private $reviewPrograms;
/**
* @ORM\ManyToOne(targetEntity="Guardiant",inversedBy="students")
*/
private $guardiant;
/*
* @ORM\OneToMany(targetEntity="Note", mappedBy="student")
*/
private $notes;
/**
* @ORM\ManyToOne(targetEntity="App\Entity\Educational\Academie")
*/
private $academie;
/*
* @ORM\OneToMany(targetEntity="\Bo\AdministratorsBundle\Entity\Alert", mappedBy="student")
*/
private $alerts;
/*
* @var ArrayCollection
* @ORM\OneToMany(targetEntity="\Bo\TrainningBundle\Entity\ListStudent",mappedBy="student")
*/
private $trainings;
/**
* @var Discipline
* @ORM\ManyToOne(targetEntity="App\Entity\Educational\Discipline")
*/
private $speciality;
/*
* @ORM\ManyToMany(targetEntity="Bo\MediaBundle\Entity\Video")
*/
private $favoris;
/**
* @var string
*/
protected $email;
/********************************************* fin ***********************************************/
public function __construct()
{
parent::__construct();
//$this->username = $this->email;
$this->plainPassword = "plainPassword";
$this->children = new ArrayCollection();
$this->homeworks = new ArrayCollection();
$this->bilans = new ArrayCollection();
$this->sessions = new ArrayCollection();
$this->optionsStudent = new ArrayCollection();
$this->activities = new ArrayCollection();
$this->offers = new ArrayCollection();
$this->targertOffer = new ArrayCollection();
$this->parents = new ArrayCollection();
$this->replays = new ArrayCollection();
$this->replaysGuardiant = new ArrayCollection();
$this->questions = new ArrayCollection();
$this->reviewPrograms = new ArrayCollection();
$this->alerts = new ArrayCollection();
$this->favoris = new ArrayCollection();
$this->trainings = new ArrayCollection();
$year = new \DateTime('10 july this year');
$now = new \DateTime('now');
$this->nextScholarYear = $now < $year ? $year:$year->modify('+1 year') ;
$this->nextScholarYear = null;
$this->roles = [];
$this->popinShareGoodDeal = false;
$this->status = 200;
$this->origin = 'web';
$this->legalGuardianAuthorization = true;
}
/**
* @return mixed
*/
public function getParents()
{
return $this->parents;
}
/**
* @param mixed $parents
*/
public function setParents($parents)
{
$this->parents = $parents;
}
/**
* @return \DateTime
*/
public function getNextScholarYear()
{
return $this->nextScholarYear;
}
/**
* @param \DateTime $nextScholarYear
*/
public function setNextScholarYear(\DateTime $nextScholarYear)
{
$this->nextScholarYear = $nextScholarYear;
}
/**
* @return mixed
*/
public function getReplays()
{
return $this->replays;
}
/**
* @param mixed $questions
*/
public function setReplays($questions)
{
$this->replays = $questions;
}
/**
* @param mixed $questions
*/
public function addReplays($questions)
{
$this->replays[] = $questions;
}
/**
* @return mixed
*/
public function getReplaysGuardiant()
{
return $this->replaysGuardiant;
}
/**
* @param mixed $questions
*/
public function setReplaysGuardiant($questions)
{
$this->replaysGuardiant = $questions;
}
/**
* @param mixed $questions
*/
public function addReplaysGuardiant($questions)
{
$this->replaysGuardiant[] = $questions;
}
/**
* @param mixed $parents
*/
public function addParents($parents)
{
$this->parents[] = $parents;
}
/**
* @return mixed
*/
public function getHomeworks()
{
return $this->homeworks;
}
/**
* @param mixed $homeworks
*/
public function addHomeworks($homeworks)
{
$this->homeworks[] = $homeworks;
}
public function serialize2()
{
return serialize(array($this->facebookId, parent::serialize()));
}
public function unserialize2($data)
{
list($this->facebookId, $parentData) = unserialize($data);
parent::unserialize($parentData);
}
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
public function setId($id)
{
$this->id = $id;
}
/**
* Get Uid
*
* @return string
*/
public function getUid()
{
return sha1($this->id);
}
/**
* Set firstname
*
* @param string $firstname
*/
public function setFirstname($firstname)
{
$this->firstname = $firstname;
}
/**
* Get firstname
*
* @return string
*/
public function getFirstname()
{
return $this->firstname;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @return mixed
*/
public function getUsername()
{
return $this->username;
}
/**
* @param mixed $username
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @param string $email
*/
public function setEmail($email)
{
$this->email = $email;
//$this->username = $email;
}
/**
* Set lastname
*
* @param string $lastname
*/
public function setLastname($lastname)
{
$this->lastname = $lastname;
}
/**
* Get lastname
*
* @return string
*/
public function getLastname()
{
return $this->lastname;
}
public function getFullname()
{
return sprintf('%s %s', $this->getFirstname(), $this->getLastname());
}
/**
* Set phone
*
* @param string $phone
*/
public function setPhone($phone)
{
$this->phone = $phone;
}
/**
* Get phone
*
* @return string
*/
public function getPhone()
{
return $this->phone;
}
/**
* Set street
*
* @param string $street
*/
public function setStreet($street)
{
$this->street = $street;
}
/**
* Get street
*
* @return string
*/
public function getStreet()
{
return $this->street;
}
/**
* Set postalCode
*
* @param string $postalCode
*/
public function setPostalCode($postalCode)
{
$this->postalCode = $postalCode;
}
/**
* Get postalCode
*
* @return string
*/
public function getPostalCode()
{
return $this->postalCode;
}
/**
* Set city
*
* @param string $city
*/
public function setCity($city)
{
$this->city = $city;
}
/**
* Get city
*
* @return string
*/
public function getCity()
{
return $this->city;
}
/**
* Set country
*
* @param string $country
*/
public function setCountry($country)
{
$this->country = $country;
}
/**
* Get country
*
* @return string
*/
public function getCountry()
{
return $this->country;
}
/**
* Set promo
*
* @param boolean $promo
*/
public function setPromo($promo)
{
$this->promo = $promo;
}
/**
* Get promo
*
* @return boolean
*/
public function getPromo()
{
return $this->promo;
}
/**
* Set postRegistrationFormValidated
*
* @param boolean $postRegistrationFormValidated
*/
public function setPostRegistrationFormValidated($postRegistrationFormValidated)
{
$this->postRegistrationFormValidated = $postRegistrationFormValidated;
}
/**
* Get postRegistrationFormValidated
*
* @return boolean
*/
public function getPostRegistrationFormValidated()
{
return $this->postRegistrationFormValidated;
}
/**
* Set promoCode
*
* @param string $promoCode
*/
public function setPromoCode($promoCode)
{
$this->promoCode = $promoCode;
}
/**
* Get promoCode
*
* @return string
*/
public function getPromoCode()
{
return $this->promoCode;
}
/**
* Set report
*
* @param boolean $report
*/
public function setReport($report)
{
$this->report = $report;
}
/**
* Get report
*
* @return boolean
*/
public function getReport()
{
return $this->report;
}
/**
* Set from
*
* @param string $from
*/
public function setFrom($from)
{
$this->from = $from;
}
/**
* Get from
*
* @return string
*/
public function getFrom()
{
return $this->from;
}
/**
* Set course
*
* @param Course $course
*/
public function setCourse($course)
{
$this->course = $course;
}
/**
* Get course
*
* @return Course
*/
public function getCourse()
{
return $this->course;
}
/**
* @return Serie
*/
public function getSerie()
{
return $this->serie;
}
/**
* @param string $serie
*/
public function setSerie($serie)
{
$this->serie = $serie;
}
/**
* Set endSubscriptionMailSended
*
* @param integer $endSubscriptionMailSended
*/
public function setEndSubscriptionMailSended($endSubscriptionMailSended)
{
$this->endSubscriptionMailSended = $endSubscriptionMailSended;
}
/**
* Get endSubscriptionMailSended
*
* @return integer
*/
public function getEndSubscriptionMailSended()
{
return $this->endSubscriptionMailSended;
}
/**
* Set relatedEmail
*
* @param string $relatedEmail
*/
public function setRelatedEmail($relatedEmail)
{
$this->relatedEmail = $relatedEmail;
}
/**
* Get relatedEmail
*
* @return string
*/
public function getRelatedEmail()
{
return $this->relatedEmail;
}
/**
* Set academy
*
* @param string $academy
*/
public function setAcademy($academy)
{
$this->academy = $academy;
}
/**
* Get academy
*
* @return string
*/
public function getAcademy()
{
return $this->academy;
}
/**
* @return string
*/
public function getCredentialsExpireAt()
{
return $this->credentialsExpireAt;
}
/**
* @return mixed
*/
public function getRoles()
{
return $this->roles;
}
/**
* @return mixed
*/
public function getBilans()
{
return $this->bilans;
}
/**
* @param mixed $bilans
*/
public function addBilans($bilans)
{
$this->bilans[] = $bilans;
}
public function __toString()
{
return $this->lastname . ' ' . $this->firstname;
}
/**
* @return mixed
*/
public function getSessions()
{
return $this->sessions;
}
/**
* @param mixed $sessions
*/
public function addSessions($sessions)
{
$this->sessions[] = $sessions;
}
/**
* @param mixed $sessions
*/
public function setSessions($sessions)
{
$this->sessions = $sessions;
}
/**
* @return mixed
*/
public function getOffers()
{
return $this->offers;
}
/**
* @return mixed
*/
public function setOffers($offers)
{
return $this->offers = $offers;
}
/**
* @param mixed $offers
*/
public function addOffers($offers)
{
$this->offers[] = $offers;
}
/**
* @return mixed
*/
public function getOptionsStudent()
{
return $this->optionsStudent;
}
/**
* @param mixed $optionsStudent
*/
public function setOptionsStudent($optionsStudent)
{
$this->optionsStudent = $optionsStudent;
}
/**
* @param mixed $optionsStudent
*/
public function addOptionsStudent($optionsStudent)
{
$this->optionsStudent[] = $optionsStudent;
}
/**
* @return mixed
*/
public function getIdOption()
{
return $this->idOption;
}
/**
* @param mixed $idOption
*/
public function setIdOption($idOption)
{
$this->idOption = $idOption;
}
/**
* @return string
*/
public function getNews()
{
return $this->news;
}
/**
* @param string $news
*/
public function setNews($news)
{
$this->news = $news;
}
/**
* @return string
*/
public function getIsBilan()
{
return $this->isBilan;
}
/**
* @param string $isBilan
*/
public function setIsBilan($isBilan)
{
$this->isBilan = $isBilan;
}
/**
* @return string
*/
public function getBilanDate()
{
return $this->bilanDate;
}
/**
* @param string $bilanDate
*/
public function setBilanDate($bilanDate)
{
$this->bilanDate = $bilanDate;
}
public function myOffre()
{
$offerStudentActive = $this->getOfferStudentActive();
if ($offerStudentActive === null) {
return null;
}
return $offerStudentActive->getOffer();
}
/**
* Verifie si l'utilisateur est en période d'essai
* @return bool
*/
public function isTrial()
{
return false;
}
/**
* @return int
* @deprecated
*/
public function nbTrial()
{
$now = new \DateTime("now");
$SubscribeDate = $this->offers[0]->getSubscripted();
$nbdays = date_diff($now, $SubscribeDate);
return $nbdays->d;
}
/**
* Return the active offer of the student
*
* @return mixed|null
*/
public function getOfferStudentActive()
{
foreach($this->offers as $offer) {
if($offer->isActif() === true || $offer->isTrial()) {
return $offer;
}
}
return null;
}
/**
* Return the active offer of the student
*
* @return mixed|null
*/
public function getTrialStatus()
{
foreach($this->offers as $offer) {
if($offer->isTrial() === true ) {
return true;
}
}
return false;
}
/**
* Return the active offer of the student
*
* @return mixed|null
*/
public function getDaysTrialStudent()
{
foreach($this->offers as $offer) {
return $offer->getDays();
}
return false;
}
/**
* @return mixed
*/
public function getTargertOffer()
{
return $this->targertOffer;
}
/**
* @param mixed $targertOffer
*/
public function setTargertOffer($targertOffer)
{
$this->targertOffer = $targertOffer;
}
/**
* @param mixed $targertOffer
*/
public function addTargertOffer($targertOffer)
{
$this->targertOffer[] = $targertOffer;
}
public function getLabelCourse()
{
if (!is_null($this->course)) {
switch ($this->course) {
case "Seconde":
return "2de";
case "Terminale":
return "Tle";
case "Première":
return "1re";
case "Troisième":
return "3e";
case "Tous niveaux";
return "";
case "Sixième";
return "6e";
}
}
return "";
}
/**
* Determine if the student has an active susbcription by checking all his offer
* @return bool
*/
public function hasOfferStudentActive()
{
return $this->getOfferStudentActive() !== null;
}
public function getPriceForChangeSubscription($priceNew)
{
return $priceNew;
}
public function customHomeworks()
{
if (empty($this->homeworks)) {
return null;
}
$custom = array();
$i = 0;
foreach ($this->homeworks as $h) {
$custom[$h->getExercise()->getDiscipline()->getTitle()][$i]["homework"] = $h;
$custom[$h->getExercise()->getDiscipline()->getTitle()][$i]["id"] = $h->getExercise()->getDiscipline()->getId();
$i++;
}
return $custom;
}
/**
* @ORM\PrePersist()
* @ORM\PreUpdate()
*/
public function prepersist()
{
$this->username;
}
/**
* @return string
*/
public function getSeriet()
{
return $this->seriet;
}
public function customGetSerieId()
{
return is_null($this->serie) ? $this->getSerietId() : $this->serie->getId();
}
public function getSerietId()
{
switch (strtoupper($this->seriet)) {
case 'S':
return 1;
break;
case 'ES':
return 2;
break;
case 'L':
return 3;
break;
default:
return 4;
break;
}
}
/**
* @param string $seriet
*/
public function setSeriet($seriet)
{
$this->seriet = $seriet;
}
public function getElaticSearchParentIds()
{
if (empty($this->parents)) {
return null;
}
$ids = array();
foreach ($this->parents as $p) {
$ids[] = $p->getParents()->getId();
}
return implode('-', $ids);
}
/**
* @return mixed
*/
public function getReviewPrograms()
{
return $this->reviewPrograms;
}
/**
* @param mixed $reviewPrograms
*/
public function setReviewPrograms($reviewPrograms)
{
$this->reviewPrograms = $reviewPrograms;
}
/**
* @param mixed $reviewPrograms
*/
public function addReviewPrograms($reviewPrograms)
{
$this->reviewPrograms[] = $reviewPrograms;
}
/**
* @return mixed
*/
public function getTeacher()
{
return $this->teacher;
}
/**
* @param mixed $teacher
*/
public function setTeacher($teacher)
{
$this->teacher = $teacher;
}
/**
* Add notes
*
* @param \Bo\StudentBundle\Entity\Note $notes
* @return Student
*/
public function addNote( $notes)
{
$this->notes[] = $notes;
return $this;
}
/**
* Remove notes
*
* @param \Bo\StudentBundle\Entity\Note $notes
*/
public function removeNote($notes)
{
$this->notes->removeElement($notes);
}
/**
* Get notes
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getNotes()
{
return $this->notes;
}
/**
* @return mixed
*/
public function getAcademie()
{
return $this->academie;
}
/**
* @param mixed $academie
*/
public function setAcademie($academie)
{
$this->academie = $academie;
}
/**
* @return mixed
*/
public function getUpdateOffer()
{
return $this->updateOffer;
}
/**
* @param mixed $updateOffer
*/
public function setUpdateOffer($updateOffer)
{
$this->updateOffer = $updateOffer;
}
/**
** @param \Bo\StudentBundle\Entity\Guardiant $guardiant
*/
public function getGuardiant()
{
return $this->guardiant;
}
/**
** @param \Bo\StudentBundle\Entity\Guardiant $guardiant
* @return Guardiant
*/
public function setGuardiant($guardiant)
{
$this->guardiant = $guardiant;
}
/**
* @return ArrayCollection
*/
public function getTrainings()
{
return $this->trainings;
}
/**
* @param mixed $trainings
*/
public function setTrainings($trainings)
{
$this->trainings = $trainings;
}
/**
* @param mixed $trainings
*/
public function addTrainings($trainings)
{
$this->trainings[] = $trainings;
}
public function getIdsTraining()
{
$return = array();
if (!$this->trainings->isEmpty()) {
foreach ($this->trainings as $t) {
$return[] = $t->getPlanning()->getTraining()->getId();
}
}
return $return;
}
public function getTrainingByPlainning()
{
$return = array();
if (!$this->trainings->isEmpty()) {
foreach ($this->trainings as $t) {
$return[] = $t->getPlanning();
}
}
return $return;
}
public function isRegisterTraining($planninId)
{
$return = array();
if (!$this->trainings->isEmpty()) {
foreach ($this->trainings as $t) {
if ($t->getPlanning()->getId() == $planninId) {
return true;
}
}
}
return false;
}
public function isRegisterTrainingByTrainingId($TrainingId)
{
$return = array();
if (!$this->trainings->isEmpty() && is_numeric($TrainingId)) {
foreach ($this->trainings as $t) {
if ($t->getPlanning()->getTraining()->getId() == $TrainingId) {
return true;
}
}
}
return false;
}
/**
* @return mixed
*/
public function getAlerts()
{
return $this->alerts;
}
/**
* @param mixed $alerts
*/
public function setAlerts($alerts)
{
$this->alerts = $alerts;
}
/**
* @param mixed $alerts
*/
public function addAlerts($alerts)
{
$this->alerts[] = $alerts;
}
/**
* @return Discipline
*/
public function getSpeciality()
{
return $this->speciality;
}
/**
* @param Discipline $speciality
*/
public function setSpeciality($speciality)
{
$this->speciality = $speciality;
}
/**
* @return string
*/
public function getStatusWording()
{
return $this->getHistoryWording();
}
/**
* Get then latest Offer which is the most recent
*/
public function getLatestOffer()
{
/** @var OfferStudent $offer */
if ($offer = $this->getLatestStudentOffer()) {
return $offer->getOffer();
}
return null;
}
/**
* Get then latest StudentOffer which is the most recent
*/
public function getLatestStudentOffer()
{
if (!$this->getOffers()->isEmpty()) {
return $this->getOffers()->last();
}
return null;
}
/**
* @return string
*/
public function getDiscr()
{
return User::DISCR_STUDENT;
}
/**
* @return mixed
*/
public function getFavoris()
{
return $this->favoris;
}
/**
* @param mixed $favoris
*/
public function setFavoris($favoris)
{
$this->favoris = $favoris;
}
/**
* @param mixed $favoris
*/
public function addFavoris($favoris)
{
$this->favoris[] = $favoris;
}
/**
* @param $video
* @return bool
*/
public function removeFavoris($video)
{
if ($video && $this->favoris->contains($video)) {
$this->favoris->removeElement($video);
return true;
}
return false;
}
public function checkisScientific()
{
if(($this->getCourse()->getSlug() == 'terminale' or $this->getCourse()->getSlug() == 'premiere') and $this->getSerie()->getSlug() == 'scientifique')
{
return true;
}
return false;
}
/**
* Check if is parent
* @param Parents $parent
* @return bool|void
*/
public function isHisParent(Parents $parent)
{
if(empty($this->parents)) {
return false;
}
foreach ($this->parents as $loopParent) {
if($loopParent->getParents()->getId() === $parent->getId()) {
return true;
}
}
return false;
}
/**
* @return string
*/
public function getProfExpressId()
{
return $this->profExpressId;
}
/**
* @param string $profExpressId
*/
public function setProfExpressId(string $profExpressId): void
{
$this->profExpressId = $profExpressId;
}
/**
* @return string
*/
public function getPhoneProfExpress(): ?string
{
return $this->phoneProfExpress;
}
/**
* @param string $phoneProfExpress
*/
public function setPhoneProfExpress(?string $phoneProfExpress): void
{
$this->phoneProfExpress = $phoneProfExpress;
}
/**
* @return \DateTime
*/
public function getDisplayPopinNextScholarYear(): ?\DateTime
{
return $this->displayPopinNextScholarYear;
}
/**
* @param \DateTime $displayPopinNextScholarYear
*/
public function setDisplayPopinNextScholarYear(\DateTime $displayPopinNextScholarYear): void
{
$this->displayPopinNextScholarYear = $displayPopinNextScholarYear;
}
}