PageRenderTime 34ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/app/cache/prod/doctrine/orm/Proxies/__CG__CrowdriseAdministrationBundleEntityDemande.php

https://gitlab.com/Marwamimo/Crowdrise_Web
PHP | 301 lines | 130 code | 66 blank | 105 comment | 17 complexity | 9aa1715a4b9c2a47128460175f83d326 MD5 | raw file
  1. <?php
  2. namespace Proxies\__CG__\Crowdrise\AdministrationBundle\Entity;
  3. /**
  4. * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
  5. */
  6. class Demande extends \Crowdrise\AdministrationBundle\Entity\Demande 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\Persistence\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\Persistence\Proxy::__setCloner
  20. */
  21. public $__cloner__;
  22. /**
  23. * @var boolean flag indicating if this object was already initialized
  24. *
  25. * @see \Doctrine\Common\Persistence\Proxy::__isInitialized
  26. */
  27. public $__isInitialized__ = false;
  28. /**
  29. * @var array properties to be lazy loaded, with keys being the property
  30. * names and values being their default values
  31. *
  32. * @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
  33. */
  34. public static $lazyPropertiesDefaults = array();
  35. /**
  36. * @param \Closure $initializer
  37. * @param \Closure $cloner
  38. */
  39. public function __construct($initializer = null, $cloner = null)
  40. {
  41. $this->__initializer__ = $initializer;
  42. $this->__cloner__ = $cloner;
  43. }
  44. /**
  45. *
  46. * @return array
  47. */
  48. public function __sleep()
  49. {
  50. if ($this->__isInitialized__) {
  51. return array('__isInitialized__', '' . "\0" . 'Crowdrise\\AdministrationBundle\\Entity\\Demande' . "\0" . 'idDemande', '' . "\0" . 'Crowdrise\\AdministrationBundle\\Entity\\Demande' . "\0" . 'dateDemande', '' . "\0" . 'Crowdrise\\AdministrationBundle\\Entity\\Demande' . "\0" . 'descriptionDemande', '' . "\0" . 'Crowdrise\\AdministrationBundle\\Entity\\Demande' . "\0" . 'etatDemande', '' . "\0" . 'Crowdrise\\AdministrationBundle\\Entity\\Demande' . "\0" . 'idProjet', '' . "\0" . 'Crowdrise\\AdministrationBundle\\Entity\\Demande' . "\0" . 'idUtilisateur');
  52. }
  53. return array('__isInitialized__', '' . "\0" . 'Crowdrise\\AdministrationBundle\\Entity\\Demande' . "\0" . 'idDemande', '' . "\0" . 'Crowdrise\\AdministrationBundle\\Entity\\Demande' . "\0" . 'dateDemande', '' . "\0" . 'Crowdrise\\AdministrationBundle\\Entity\\Demande' . "\0" . 'descriptionDemande', '' . "\0" . 'Crowdrise\\AdministrationBundle\\Entity\\Demande' . "\0" . 'etatDemande', '' . "\0" . 'Crowdrise\\AdministrationBundle\\Entity\\Demande' . "\0" . 'idProjet', '' . "\0" . 'Crowdrise\\AdministrationBundle\\Entity\\Demande' . "\0" . 'idUtilisateur');
  54. }
  55. /**
  56. *
  57. */
  58. public function __wakeup()
  59. {
  60. if ( ! $this->__isInitialized__) {
  61. $this->__initializer__ = function (Demande $proxy) {
  62. $proxy->__setInitializer(null);
  63. $proxy->__setCloner(null);
  64. $existingProperties = get_object_vars($proxy);
  65. foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
  66. if ( ! array_key_exists($property, $existingProperties)) {
  67. $proxy->$property = $defaultValue;
  68. }
  69. }
  70. };
  71. }
  72. }
  73. /**
  74. *
  75. */
  76. public function __clone()
  77. {
  78. $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array());
  79. }
  80. /**
  81. * Forces initialization of the proxy
  82. */
  83. public function __load()
  84. {
  85. $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', array());
  86. }
  87. /**
  88. * {@inheritDoc}
  89. * @internal generated method: use only when explicitly handling proxy specific loading logic
  90. */
  91. public function __isInitialized()
  92. {
  93. return $this->__isInitialized__;
  94. }
  95. /**
  96. * {@inheritDoc}
  97. * @internal generated method: use only when explicitly handling proxy specific loading logic
  98. */
  99. public function __setInitialized($initialized)
  100. {
  101. $this->__isInitialized__ = $initialized;
  102. }
  103. /**
  104. * {@inheritDoc}
  105. * @internal generated method: use only when explicitly handling proxy specific loading logic
  106. */
  107. public function __setInitializer(\Closure $initializer = null)
  108. {
  109. $this->__initializer__ = $initializer;
  110. }
  111. /**
  112. * {@inheritDoc}
  113. * @internal generated method: use only when explicitly handling proxy specific loading logic
  114. */
  115. public function __getInitializer()
  116. {
  117. return $this->__initializer__;
  118. }
  119. /**
  120. * {@inheritDoc}
  121. * @internal generated method: use only when explicitly handling proxy specific loading logic
  122. */
  123. public function __setCloner(\Closure $cloner = null)
  124. {
  125. $this->__cloner__ = $cloner;
  126. }
  127. /**
  128. * {@inheritDoc}
  129. * @internal generated method: use only when explicitly handling proxy specific cloning logic
  130. */
  131. public function __getCloner()
  132. {
  133. return $this->__cloner__;
  134. }
  135. /**
  136. * {@inheritDoc}
  137. * @internal generated method: use only when explicitly handling proxy specific loading logic
  138. * @static
  139. */
  140. public function __getLazyProperties()
  141. {
  142. return self::$lazyPropertiesDefaults;
  143. }
  144. /**
  145. * {@inheritDoc}
  146. */
  147. public function getIdDemande()
  148. {
  149. if ($this->__isInitialized__ === false) {
  150. return (int) parent::getIdDemande();
  151. }
  152. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdDemande', array());
  153. return parent::getIdDemande();
  154. }
  155. /**
  156. * {@inheritDoc}
  157. */
  158. public function setDateDemande($dateDemande)
  159. {
  160. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateDemande', array($dateDemande));
  161. return parent::setDateDemande($dateDemande);
  162. }
  163. /**
  164. * {@inheritDoc}
  165. */
  166. public function getDateDemande()
  167. {
  168. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateDemande', array());
  169. return parent::getDateDemande();
  170. }
  171. /**
  172. * {@inheritDoc}
  173. */
  174. public function setDescriptionDemande($descriptionDemande)
  175. {
  176. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescriptionDemande', array($descriptionDemande));
  177. return parent::setDescriptionDemande($descriptionDemande);
  178. }
  179. /**
  180. * {@inheritDoc}
  181. */
  182. public function getDescriptionDemande()
  183. {
  184. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescriptionDemande', array());
  185. return parent::getDescriptionDemande();
  186. }
  187. /**
  188. * {@inheritDoc}
  189. */
  190. public function setEtatDemande($etatDemande)
  191. {
  192. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEtatDemande', array($etatDemande));
  193. return parent::setEtatDemande($etatDemande);
  194. }
  195. /**
  196. * {@inheritDoc}
  197. */
  198. public function getEtatDemande()
  199. {
  200. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEtatDemande', array());
  201. return parent::getEtatDemande();
  202. }
  203. /**
  204. * {@inheritDoc}
  205. */
  206. public function setIdProjet(\Crowdrise\AdministrationBundle\Entity\Projet $idProjet = NULL)
  207. {
  208. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdProjet', array($idProjet));
  209. return parent::setIdProjet($idProjet);
  210. }
  211. /**
  212. * {@inheritDoc}
  213. */
  214. public function getIdProjet()
  215. {
  216. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdProjet', array());
  217. return parent::getIdProjet();
  218. }
  219. /**
  220. * {@inheritDoc}
  221. */
  222. public function setIdUtilisateur(\Crowdrise\AdministrationBundle\Entity\Utilisateur $idUtilisateur = NULL)
  223. {
  224. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdUtilisateur', array($idUtilisateur));
  225. return parent::setIdUtilisateur($idUtilisateur);
  226. }
  227. /**
  228. * {@inheritDoc}
  229. */
  230. public function getIdUtilisateur()
  231. {
  232. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdUtilisateur', array());
  233. return parent::getIdUtilisateur();
  234. }
  235. }