PageRenderTime 49ms CodeModel.GetById 22ms RepoModel.GetById 1ms app.codeStats 0ms

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

https://gitlab.com/Snizer/PI-DEV-TUNISIAMALL3A6-WEB
PHP | 433 lines | 190 code | 102 blank | 141 comment | 29 complexity | 2a4d8e0c8c51f3e13e5c0bd4f0302368 MD5 | raw file
  1. <?php
  2. namespace Proxies\__CG__\Tunisiamall\tunisiamallBundle\Entity;
  3. /**
  4. * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
  5. */
  6. class CorrespondanceProduit extends \Tunisiamall\tunisiamallBundle\Entity\CorrespondanceProduit 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" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'id', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'reference', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'idMarque', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'nom', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'type', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'prix', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'tauxReduction', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'nombrePoint', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'photo', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'description', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'quantite', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'quantiteVendu');
  52. }
  53. return array('__isInitialized__', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'id', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'reference', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'idMarque', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'nom', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'type', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'prix', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'tauxReduction', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'nombrePoint', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'photo', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'description', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'quantite', '' . "\0" . 'Tunisiamall\\tunisiamallBundle\\Entity\\CorrespondanceProduit' . "\0" . 'quantiteVendu');
  54. }
  55. /**
  56. *
  57. */
  58. public function __wakeup()
  59. {
  60. if ( ! $this->__isInitialized__) {
  61. $this->__initializer__ = function (CorrespondanceProduit $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 getId()
  148. {
  149. if ($this->__isInitialized__ === false) {
  150. return (int) parent::getId();
  151. }
  152. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
  153. return parent::getId();
  154. }
  155. /**
  156. * {@inheritDoc}
  157. */
  158. public function setReference($reference)
  159. {
  160. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setReference', array($reference));
  161. return parent::setReference($reference);
  162. }
  163. /**
  164. * {@inheritDoc}
  165. */
  166. public function getReference()
  167. {
  168. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getReference', array());
  169. return parent::getReference();
  170. }
  171. /**
  172. * {@inheritDoc}
  173. */
  174. public function setIdMarque($idMarque)
  175. {
  176. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdMarque', array($idMarque));
  177. return parent::setIdMarque($idMarque);
  178. }
  179. /**
  180. * {@inheritDoc}
  181. */
  182. public function getIdMarque()
  183. {
  184. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdMarque', array());
  185. return parent::getIdMarque();
  186. }
  187. /**
  188. * {@inheritDoc}
  189. */
  190. public function setNom($nom)
  191. {
  192. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNom', array($nom));
  193. return parent::setNom($nom);
  194. }
  195. /**
  196. * {@inheritDoc}
  197. */
  198. public function getNom()
  199. {
  200. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNom', array());
  201. return parent::getNom();
  202. }
  203. /**
  204. * {@inheritDoc}
  205. */
  206. public function setType($type)
  207. {
  208. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setType', array($type));
  209. return parent::setType($type);
  210. }
  211. /**
  212. * {@inheritDoc}
  213. */
  214. public function getType()
  215. {
  216. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getType', array());
  217. return parent::getType();
  218. }
  219. /**
  220. * {@inheritDoc}
  221. */
  222. public function setPrix($prix)
  223. {
  224. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPrix', array($prix));
  225. return parent::setPrix($prix);
  226. }
  227. /**
  228. * {@inheritDoc}
  229. */
  230. public function getPrix()
  231. {
  232. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPrix', array());
  233. return parent::getPrix();
  234. }
  235. /**
  236. * {@inheritDoc}
  237. */
  238. public function setTauxReduction($tauxReduction)
  239. {
  240. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTauxReduction', array($tauxReduction));
  241. return parent::setTauxReduction($tauxReduction);
  242. }
  243. /**
  244. * {@inheritDoc}
  245. */
  246. public function getTauxReduction()
  247. {
  248. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTauxReduction', array());
  249. return parent::getTauxReduction();
  250. }
  251. /**
  252. * {@inheritDoc}
  253. */
  254. public function setNombrePoint($nombrePoint)
  255. {
  256. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNombrePoint', array($nombrePoint));
  257. return parent::setNombrePoint($nombrePoint);
  258. }
  259. /**
  260. * {@inheritDoc}
  261. */
  262. public function getNombrePoint()
  263. {
  264. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNombrePoint', array());
  265. return parent::getNombrePoint();
  266. }
  267. /**
  268. * {@inheritDoc}
  269. */
  270. public function setPhoto($photo)
  271. {
  272. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPhoto', array($photo));
  273. return parent::setPhoto($photo);
  274. }
  275. /**
  276. * {@inheritDoc}
  277. */
  278. public function getPhoto()
  279. {
  280. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPhoto', array());
  281. return parent::getPhoto();
  282. }
  283. /**
  284. * {@inheritDoc}
  285. */
  286. public function setDescription($description)
  287. {
  288. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', array($description));
  289. return parent::setDescription($description);
  290. }
  291. /**
  292. * {@inheritDoc}
  293. */
  294. public function getDescription()
  295. {
  296. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', array());
  297. return parent::getDescription();
  298. }
  299. /**
  300. * {@inheritDoc}
  301. */
  302. public function setQuantite($quantite)
  303. {
  304. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setQuantite', array($quantite));
  305. return parent::setQuantite($quantite);
  306. }
  307. /**
  308. * {@inheritDoc}
  309. */
  310. public function getQuantite()
  311. {
  312. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getQuantite', array());
  313. return parent::getQuantite();
  314. }
  315. /**
  316. * {@inheritDoc}
  317. */
  318. public function setQuantiteVendu($quantiteVendu)
  319. {
  320. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setQuantiteVendu', array($quantiteVendu));
  321. return parent::setQuantiteVendu($quantiteVendu);
  322. }
  323. /**
  324. * {@inheritDoc}
  325. */
  326. public function getQuantiteVendu()
  327. {
  328. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getQuantiteVendu', array());
  329. return parent::getQuantiteVendu();
  330. }
  331. }