var/cache/dev/doctrine/orm/Proxies/__CG__AppEntityProject.php line 9

Open in your IDE?
  1. <?php
  2. namespace Proxies\__CG__\App\Entity;
  3. /**
  4.  * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
  5.  */
  6. class Project extends \App\Entity\Project implements \Doctrine\ORM\Proxy\Proxy
  7. {
  8.     /**
  9.      * @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
  10.      *      three parameters, being respectively the proxy object to be initialized, the method that triggered the
  11.      *      initialization process and an array of ordered parameters that were passed to that method.
  12.      *
  13.      * @see \Doctrine\Common\Proxy\Proxy::__setInitializer
  14.      */
  15.     public $__initializer__;
  16.     /**
  17.      * @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
  18.      *
  19.      * @see \Doctrine\Common\Proxy\Proxy::__setCloner
  20.      */
  21.     public $__cloner__;
  22.     /**
  23.      * @var boolean flag indicating if this object was already initialized
  24.      *
  25.      * @see \Doctrine\Persistence\Proxy::__isInitialized
  26.      */
  27.     public $__isInitialized__ false;
  28.     /**
  29.      * @var array<string, null> properties to be lazy loaded, indexed by property name
  30.      */
  31.     public static $lazyPropertiesNames = array (
  32. );
  33.     /**
  34.      * @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
  35.      *
  36.      * @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
  37.      */
  38.     public static $lazyPropertiesDefaults = array (
  39. );
  40.     public function __construct(?\Closure $initializer null, ?\Closure $cloner null)
  41.     {
  42.         $this->__initializer__ $initializer;
  43.         $this->__cloner__      $cloner;
  44.     }
  45.     /**
  46.      * 
  47.      * @return array
  48.      */
  49.     public function __sleep()
  50.     {
  51.         if ($this->__isInitialized__) {
  52.             return ['__isInitialized__''number''schoolProjectNumber''status''collegeSort''schoolSort''doc''docName''collegeDoc''collegeDocName''attachments''id''name''batch''user''subject''college''category''level''year''property''updatedAt'];
  53.         }
  54.         return ['__isInitialized__''number''schoolProjectNumber''status''collegeSort''schoolSort''doc''docName''collegeDoc''collegeDocName''attachments''id''name''batch''user''subject''college''category''level''year''property''updatedAt'];
  55.     }
  56.     /**
  57.      * 
  58.      */
  59.     public function __wakeup()
  60.     {
  61.         if ( ! $this->__isInitialized__) {
  62.             $this->__initializer__ = function (Project $proxy) {
  63.                 $proxy->__setInitializer(null);
  64.                 $proxy->__setCloner(null);
  65.                 $existingProperties get_object_vars($proxy);
  66.                 foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) {
  67.                     if ( ! array_key_exists($property$existingProperties)) {
  68.                         $proxy->$property $defaultValue;
  69.                     }
  70.                 }
  71.             };
  72.         }
  73.     }
  74.     /**
  75.      * 
  76.      */
  77.     public function __clone()
  78.     {
  79.         $this->__cloner__ && $this->__cloner__->__invoke($this'__clone', []);
  80.     }
  81.     /**
  82.      * Forces initialization of the proxy
  83.      */
  84.     public function __load(): void
  85.     {
  86.         $this->__initializer__ && $this->__initializer__->__invoke($this'__load', []);
  87.     }
  88.     /**
  89.      * {@inheritDoc}
  90.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  91.      */
  92.     public function __isInitialized(): bool
  93.     {
  94.         return $this->__isInitialized__;
  95.     }
  96.     /**
  97.      * {@inheritDoc}
  98.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  99.      */
  100.     public function __setInitialized($initialized): void
  101.     {
  102.         $this->__isInitialized__ $initialized;
  103.     }
  104.     /**
  105.      * {@inheritDoc}
  106.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  107.      */
  108.     public function __setInitializer(\Closure $initializer null): void
  109.     {
  110.         $this->__initializer__ $initializer;
  111.     }
  112.     /**
  113.      * {@inheritDoc}
  114.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  115.      */
  116.     public function __getInitializer(): ?\Closure
  117.     {
  118.         return $this->__initializer__;
  119.     }
  120.     /**
  121.      * {@inheritDoc}
  122.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  123.      */
  124.     public function __setCloner(\Closure $cloner null): void
  125.     {
  126.         $this->__cloner__ $cloner;
  127.     }
  128.     /**
  129.      * {@inheritDoc}
  130.      * @internal generated method: use only when explicitly handling proxy specific cloning logic
  131.      */
  132.     public function __getCloner(): ?\Closure
  133.     {
  134.         return $this->__cloner__;
  135.     }
  136.     /**
  137.      * {@inheritDoc}
  138.      * @internal generated method: use only when explicitly handling proxy specific loading logic
  139.      * @deprecated no longer in use - generated code now relies on internal components rather than generated public API
  140.      * @static
  141.      */
  142.     public function __getLazyProperties(): array
  143.     {
  144.         return self::$lazyPropertiesDefaults;
  145.     }
  146.     
  147.     /**
  148.      * {@inheritDoc}
  149.      */
  150.     public function getCollegeSort()
  151.     {
  152.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCollegeSort', []);
  153.         return parent::getCollegeSort();
  154.     }
  155.     /**
  156.      * {@inheritDoc}
  157.      */
  158.     public function setCollegeSort($collegeSort)
  159.     {
  160.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCollegeSort', [$collegeSort]);
  161.         return parent::setCollegeSort($collegeSort);
  162.     }
  163.     /**
  164.      * {@inheritDoc}
  165.      */
  166.     public function getSchoolSort()
  167.     {
  168.         $this->__initializer__ && $this->__initializer__->__invoke($this'getSchoolSort', []);
  169.         return parent::getSchoolSort();
  170.     }
  171.     /**
  172.      * {@inheritDoc}
  173.      */
  174.     public function setSchoolSort($schoolSort)
  175.     {
  176.         $this->__initializer__ && $this->__initializer__->__invoke($this'setSchoolSort', [$schoolSort]);
  177.         return parent::setSchoolSort($schoolSort);
  178.     }
  179.     /**
  180.      * {@inheritDoc}
  181.      */
  182.     public function getSchoolProjectNumber()
  183.     {
  184.         $this->__initializer__ && $this->__initializer__->__invoke($this'getSchoolProjectNumber', []);
  185.         return parent::getSchoolProjectNumber();
  186.     }
  187.     /**
  188.      * {@inheritDoc}
  189.      */
  190.     public function setSchoolProjectNumber($schoolProjectNumber)
  191.     {
  192.         $this->__initializer__ && $this->__initializer__->__invoke($this'setSchoolProjectNumber', [$schoolProjectNumber]);
  193.         return parent::setSchoolProjectNumber($schoolProjectNumber);
  194.     }
  195.     /**
  196.      * {@inheritDoc}
  197.      */
  198.     public function getStatus()
  199.     {
  200.         $this->__initializer__ && $this->__initializer__->__invoke($this'getStatus', []);
  201.         return parent::getStatus();
  202.     }
  203.     /**
  204.      * {@inheritDoc}
  205.      */
  206.     public function setStatus($status)
  207.     {
  208.         $this->__initializer__ && $this->__initializer__->__invoke($this'setStatus', [$status]);
  209.         return parent::setStatus($status);
  210.     }
  211.     /**
  212.      * {@inheritDoc}
  213.      */
  214.     public function setDoc(\Symfony\Component\HttpFoundation\File\File $doc NULL): void
  215.     {
  216.         $this->__initializer__ && $this->__initializer__->__invoke($this'setDoc', [$doc]);
  217.         parent::setDoc($doc);
  218.     }
  219.     /**
  220.      * {@inheritDoc}
  221.      */
  222.     public function getDoc(): ?\Symfony\Component\HttpFoundation\File\File
  223.     {
  224.         $this->__initializer__ && $this->__initializer__->__invoke($this'getDoc', []);
  225.         return parent::getDoc();
  226.     }
  227.     /**
  228.      * {@inheritDoc}
  229.      */
  230.     public function getDocName()
  231.     {
  232.         $this->__initializer__ && $this->__initializer__->__invoke($this'getDocName', []);
  233.         return parent::getDocName();
  234.     }
  235.     /**
  236.      * {@inheritDoc}
  237.      */
  238.     public function setDocName($docName)
  239.     {
  240.         $this->__initializer__ && $this->__initializer__->__invoke($this'setDocName', [$docName]);
  241.         return parent::setDocName($docName);
  242.     }
  243.     /**
  244.      * {@inheritDoc}
  245.      */
  246.     public function setCollegeDoc(\Symfony\Component\HttpFoundation\File\File $collegeDoc NULL): void
  247.     {
  248.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCollegeDoc', [$collegeDoc]);
  249.         parent::setCollegeDoc($collegeDoc);
  250.     }
  251.     /**
  252.      * {@inheritDoc}
  253.      */
  254.     public function getCollegeDoc(): ?\Symfony\Component\HttpFoundation\File\File
  255.     {
  256.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCollegeDoc', []);
  257.         return parent::getCollegeDoc();
  258.     }
  259.     /**
  260.      * {@inheritDoc}
  261.      */
  262.     public function getCollegeDocName()
  263.     {
  264.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCollegeDocName', []);
  265.         return parent::getCollegeDocName();
  266.     }
  267.     /**
  268.      * {@inheritDoc}
  269.      */
  270.     public function setCollegeDocName($collegeDocName)
  271.     {
  272.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCollegeDocName', [$collegeDocName]);
  273.         return parent::setCollegeDocName($collegeDocName);
  274.     }
  275.     /**
  276.      * {@inheritDoc}
  277.      */
  278.     public function getAttachments(): \Doctrine\Common\Collections\Collection
  279.     {
  280.         $this->__initializer__ && $this->__initializer__->__invoke($this'getAttachments', []);
  281.         return parent::getAttachments();
  282.     }
  283.     /**
  284.      * {@inheritDoc}
  285.      */
  286.     public function getCollegeName(): string
  287.     {
  288.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCollegeName', []);
  289.         return parent::getCollegeName();
  290.     }
  291.     /**
  292.      * {@inheritDoc}
  293.      */
  294.     public function getCategoryName(): string
  295.     {
  296.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategoryName', []);
  297.         return parent::getCategoryName();
  298.     }
  299.     /**
  300.      * {@inheritDoc}
  301.      */
  302.     public function getLevelName(): string
  303.     {
  304.         $this->__initializer__ && $this->__initializer__->__invoke($this'getLevelName', []);
  305.         return parent::getLevelName();
  306.     }
  307.     /**
  308.      * {@inheritDoc}
  309.      */
  310.     public function getPropertyName(): string
  311.     {
  312.         $this->__initializer__ && $this->__initializer__->__invoke($this'getPropertyName', []);
  313.         return parent::getPropertyName();
  314.     }
  315.     /**
  316.      * {@inheritDoc}
  317.      */
  318.     public function getSubjectName(): string
  319.     {
  320.         $this->__initializer__ && $this->__initializer__->__invoke($this'getSubjectName', []);
  321.         return parent::getSubjectName();
  322.     }
  323.     /**
  324.      * {@inheritDoc}
  325.      */
  326.     public function getYearName(): string
  327.     {
  328.         $this->__initializer__ && $this->__initializer__->__invoke($this'getYearName', []);
  329.         return parent::getYearName();
  330.     }
  331.     /**
  332.      * {@inheritDoc}
  333.      */
  334.     public function getUserNumber(): string
  335.     {
  336.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUserNumber', []);
  337.         return parent::getUserNumber();
  338.     }
  339.     /**
  340.      * {@inheritDoc}
  341.      */
  342.     public function getUserName(): string
  343.     {
  344.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUserName', []);
  345.         return parent::getUserName();
  346.     }
  347.     /**
  348.      * {@inheritDoc}
  349.      */
  350.     public function getUserTitle(): string
  351.     {
  352.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUserTitle', []);
  353.         return parent::getUserTitle();
  354.     }
  355.     /**
  356.      * {@inheritDoc}
  357.      */
  358.     public function getUserGender(): string
  359.     {
  360.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUserGender', []);
  361.         return parent::getUserGender();
  362.     }
  363.     /**
  364.      * {@inheritDoc}
  365.      */
  366.     public function getUserMajor(): string
  367.     {
  368.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUserMajor', []);
  369.         return parent::getUserMajor();
  370.     }
  371.     /**
  372.      * {@inheritDoc}
  373.      */
  374.     public function getUserQualification(): string
  375.     {
  376.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUserQualification', []);
  377.         return parent::getUserQualification();
  378.     }
  379.     /**
  380.      * {@inheritDoc}
  381.      */
  382.     public function getUserDegree(): string
  383.     {
  384.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUserDegree', []);
  385.         return parent::getUserDegree();
  386.     }
  387.     /**
  388.      * {@inheritDoc}
  389.      */
  390.     public function getUserIdNumber(): string
  391.     {
  392.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUserIdNumber', []);
  393.         return parent::getUserIdNumber();
  394.     }
  395.     /**
  396.      * {@inheritDoc}
  397.      */
  398.     public function getUserPhone(): string
  399.     {
  400.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUserPhone', []);
  401.         return parent::getUserPhone();
  402.     }
  403.     /**
  404.      * {@inheritDoc}
  405.      */
  406.     public function getUserMobile(): string
  407.     {
  408.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUserMobile', []);
  409.         return parent::getUserMobile();
  410.     }
  411.     /**
  412.      * {@inheritDoc}
  413.      */
  414.     public function getUserEmail(): string
  415.     {
  416.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUserEmail', []);
  417.         return parent::getUserEmail();
  418.     }
  419.     /**
  420.      * {@inheritDoc}
  421.      */
  422.     public function getUserAddress(): string
  423.     {
  424.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUserAddress', []);
  425.         return parent::getUserAddress();
  426.     }
  427.     /**
  428.      * {@inheritDoc}
  429.      */
  430.     public function isNew(): bool
  431.     {
  432.         $this->__initializer__ && $this->__initializer__->__invoke($this'isNew', []);
  433.         return parent::isNew();
  434.     }
  435.     /**
  436.      * {@inheritDoc}
  437.      */
  438.     public function isCollegeRecommend(): bool
  439.     {
  440.         $this->__initializer__ && $this->__initializer__->__invoke($this'isCollegeRecommend', []);
  441.         return parent::isCollegeRecommend();
  442.     }
  443.     /**
  444.      * {@inheritDoc}
  445.      */
  446.     public function getDocDownloadName(): string
  447.     {
  448.         $this->__initializer__ && $this->__initializer__->__invoke($this'getDocDownloadName', []);
  449.         return parent::getDocDownloadName();
  450.     }
  451.     /**
  452.      * {@inheritDoc}
  453.      */
  454.     public function getCollegeDocDownloadName(): string
  455.     {
  456.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCollegeDocDownloadName', []);
  457.         return parent::getCollegeDocDownloadName();
  458.     }
  459.     /**
  460.      * {@inheritDoc}
  461.      */
  462.     public function getExportName(array $nameColumns): string
  463.     {
  464.         $this->__initializer__ && $this->__initializer__->__invoke($this'getExportName', [$nameColumns]);
  465.         return parent::getExportName($nameColumns);
  466.     }
  467.     /**
  468.      * {@inheritDoc}
  469.      */
  470.     public function getId(): ?int
  471.     {
  472.         if ($this->__isInitialized__ === false) {
  473.             return (int)  parent::getId();
  474.         }
  475.         $this->__initializer__ && $this->__initializer__->__invoke($this'getId', []);
  476.         return parent::getId();
  477.     }
  478.     /**
  479.      * {@inheritDoc}
  480.      */
  481.     public function getName(): string
  482.     {
  483.         $this->__initializer__ && $this->__initializer__->__invoke($this'getName', []);
  484.         return parent::getName();
  485.     }
  486.     /**
  487.      * {@inheritDoc}
  488.      */
  489.     public function setName(string $name): void
  490.     {
  491.         $this->__initializer__ && $this->__initializer__->__invoke($this'setName', [$name]);
  492.         parent::setName($name);
  493.     }
  494.     /**
  495.      * {@inheritDoc}
  496.      */
  497.     public function __toString(): string
  498.     {
  499.         $this->__initializer__ && $this->__initializer__->__invoke($this'__toString', []);
  500.         return parent::__toString();
  501.     }
  502.     /**
  503.      * {@inheritDoc}
  504.      */
  505.     public function getNumber()
  506.     {
  507.         $this->__initializer__ && $this->__initializer__->__invoke($this'getNumber', []);
  508.         return parent::getNumber();
  509.     }
  510.     /**
  511.      * {@inheritDoc}
  512.      */
  513.     public function setNumber($number)
  514.     {
  515.         $this->__initializer__ && $this->__initializer__->__invoke($this'setNumber', [$number]);
  516.         return parent::setNumber($number);
  517.     }
  518.     /**
  519.      * {@inheritDoc}
  520.      */
  521.     public function getBatch(): ?\App\Entity\Batch
  522.     {
  523.         $this->__initializer__ && $this->__initializer__->__invoke($this'getBatch', []);
  524.         return parent::getBatch();
  525.     }
  526.     /**
  527.      * {@inheritDoc}
  528.      */
  529.     public function setBatch(?\App\Entity\Batch $batch)
  530.     {
  531.         $this->__initializer__ && $this->__initializer__->__invoke($this'setBatch', [$batch]);
  532.         return parent::setBatch($batch);
  533.     }
  534.     /**
  535.      * {@inheritDoc}
  536.      */
  537.     public function getUser(): ?\App\Entity\User
  538.     {
  539.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUser', []);
  540.         return parent::getUser();
  541.     }
  542.     /**
  543.      * {@inheritDoc}
  544.      */
  545.     public function setUser(?\App\Entity\User $user)
  546.     {
  547.         $this->__initializer__ && $this->__initializer__->__invoke($this'setUser', [$user]);
  548.         return parent::setUser($user);
  549.     }
  550.     /**
  551.      * {@inheritDoc}
  552.      */
  553.     public function getSubject(): ?\App\Entity\Subject
  554.     {
  555.         $this->__initializer__ && $this->__initializer__->__invoke($this'getSubject', []);
  556.         return parent::getSubject();
  557.     }
  558.     /**
  559.      * {@inheritDoc}
  560.      */
  561.     public function setSubject(?\App\Entity\Subject $subject)
  562.     {
  563.         $this->__initializer__ && $this->__initializer__->__invoke($this'setSubject', [$subject]);
  564.         return parent::setSubject($subject);
  565.     }
  566.     /**
  567.      * {@inheritDoc}
  568.      */
  569.     public function getCollege(): ?\App\Entity\College
  570.     {
  571.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCollege', []);
  572.         return parent::getCollege();
  573.     }
  574.     /**
  575.      * {@inheritDoc}
  576.      */
  577.     public function setCollege(?\App\Entity\College $college)
  578.     {
  579.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCollege', [$college]);
  580.         return parent::setCollege($college);
  581.     }
  582.     /**
  583.      * {@inheritDoc}
  584.      */
  585.     public function getCategory(): ?\App\Entity\Category
  586.     {
  587.         $this->__initializer__ && $this->__initializer__->__invoke($this'getCategory', []);
  588.         return parent::getCategory();
  589.     }
  590.     /**
  591.      * {@inheritDoc}
  592.      */
  593.     public function setCategory(?\App\Entity\Category $category)
  594.     {
  595.         $this->__initializer__ && $this->__initializer__->__invoke($this'setCategory', [$category]);
  596.         return parent::setCategory($category);
  597.     }
  598.     /**
  599.      * {@inheritDoc}
  600.      */
  601.     public function getLevel(): ?\App\Entity\Level
  602.     {
  603.         $this->__initializer__ && $this->__initializer__->__invoke($this'getLevel', []);
  604.         return parent::getLevel();
  605.     }
  606.     /**
  607.      * {@inheritDoc}
  608.      */
  609.     public function setLevel(?\App\Entity\Level $level)
  610.     {
  611.         $this->__initializer__ && $this->__initializer__->__invoke($this'setLevel', [$level]);
  612.         return parent::setLevel($level);
  613.     }
  614.     /**
  615.      * {@inheritDoc}
  616.      */
  617.     public function getYear(): ?\App\Entity\Year
  618.     {
  619.         $this->__initializer__ && $this->__initializer__->__invoke($this'getYear', []);
  620.         return parent::getYear();
  621.     }
  622.     /**
  623.      * {@inheritDoc}
  624.      */
  625.     public function setYear(?\App\Entity\Year $year)
  626.     {
  627.         $this->__initializer__ && $this->__initializer__->__invoke($this'setYear', [$year]);
  628.         return parent::setYear($year);
  629.     }
  630.     /**
  631.      * {@inheritDoc}
  632.      */
  633.     public function getProperty(): ?\App\Entity\Property
  634.     {
  635.         $this->__initializer__ && $this->__initializer__->__invoke($this'getProperty', []);
  636.         return parent::getProperty();
  637.     }
  638.     /**
  639.      * {@inheritDoc}
  640.      */
  641.     public function setProperty(?\App\Entity\Property $property)
  642.     {
  643.         $this->__initializer__ && $this->__initializer__->__invoke($this'setProperty', [$property]);
  644.         return parent::setProperty($property);
  645.     }
  646.     /**
  647.      * {@inheritDoc}
  648.      */
  649.     public function getUpdatedAt(): ?\DateTime
  650.     {
  651.         $this->__initializer__ && $this->__initializer__->__invoke($this'getUpdatedAt', []);
  652.         return parent::getUpdatedAt();
  653.     }
  654.     /**
  655.      * {@inheritDoc}
  656.      */
  657.     public function setUpdatedAt(?\DateTime $updatedAt)
  658.     {
  659.         $this->__initializer__ && $this->__initializer__->__invoke($this'setUpdatedAt', [$updatedAt]);
  660.         return parent::setUpdatedAt($updatedAt);
  661.     }
  662.     /**
  663.      * {@inheritDoc}
  664.      */
  665.     public function getColumnValue(string $column): ?string
  666.     {
  667.         $this->__initializer__ && $this->__initializer__->__invoke($this'getColumnValue', [$column]);
  668.         return parent::getColumnValue($column);
  669.     }
  670. }