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

https://gitlab.com/galaxy-pidev/AllForDealWeb · PHP · 411 lines · 180 code · 96 blank · 135 comment · 27 complexity · 035e968c4e638e4c1874f645dee908fe MD5 · raw file

  1. <?php
  2. namespace Proxies\__CG__\PiDev\ClientBundle\Entity;
  3. /**
  4. * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
  5. */
  6. class Service extends \PiDev\ClientBundle\Entity\Service 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 = [];
  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 ['__isInitialized__', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'id', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'nom', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'Description', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'proprietaire', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'valider', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'estimation', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'Categorie', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'Mail', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'Telephone', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'Adresse'];
  52. }
  53. return ['__isInitialized__', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'id', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'nom', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'Description', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'proprietaire', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'valider', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'estimation', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'Categorie', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'Mail', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'Telephone', '' . "\0" . 'PiDev\\ClientBundle\\Entity\\Service' . "\0" . 'Adresse'];
  54. }
  55. /**
  56. *
  57. */
  58. public function __wakeup()
  59. {
  60. if ( ! $this->__isInitialized__) {
  61. $this->__initializer__ = function (Service $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', []);
  79. }
  80. /**
  81. * Forces initialization of the proxy
  82. */
  83. public function __load()
  84. {
  85. $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
  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', []);
  153. return parent::getId();
  154. }
  155. /**
  156. * {@inheritDoc}
  157. */
  158. public function getNom()
  159. {
  160. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNom', []);
  161. return parent::getNom();
  162. }
  163. /**
  164. * {@inheritDoc}
  165. */
  166. public function getDescription()
  167. {
  168. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', []);
  169. return parent::getDescription();
  170. }
  171. /**
  172. * {@inheritDoc}
  173. */
  174. public function getProprietaire()
  175. {
  176. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getProprietaire', []);
  177. return parent::getProprietaire();
  178. }
  179. /**
  180. * {@inheritDoc}
  181. */
  182. public function getValider()
  183. {
  184. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getValider', []);
  185. return parent::getValider();
  186. }
  187. /**
  188. * {@inheritDoc}
  189. */
  190. public function getEstimation()
  191. {
  192. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEstimation', []);
  193. return parent::getEstimation();
  194. }
  195. /**
  196. * {@inheritDoc}
  197. */
  198. public function setId($id)
  199. {
  200. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
  201. return parent::setId($id);
  202. }
  203. /**
  204. * {@inheritDoc}
  205. */
  206. public function setNom($nom)
  207. {
  208. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNom', [$nom]);
  209. return parent::setNom($nom);
  210. }
  211. /**
  212. * {@inheritDoc}
  213. */
  214. public function setDescription($Description)
  215. {
  216. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', [$Description]);
  217. return parent::setDescription($Description);
  218. }
  219. /**
  220. * {@inheritDoc}
  221. */
  222. public function setProprietaire($proprietaire)
  223. {
  224. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setProprietaire', [$proprietaire]);
  225. return parent::setProprietaire($proprietaire);
  226. }
  227. /**
  228. * {@inheritDoc}
  229. */
  230. public function setValider($valider)
  231. {
  232. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setValider', [$valider]);
  233. return parent::setValider($valider);
  234. }
  235. /**
  236. * {@inheritDoc}
  237. */
  238. public function setEstimation($estimation)
  239. {
  240. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEstimation', [$estimation]);
  241. return parent::setEstimation($estimation);
  242. }
  243. /**
  244. * {@inheritDoc}
  245. */
  246. public function getCategorie()
  247. {
  248. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCategorie', []);
  249. return parent::getCategorie();
  250. }
  251. /**
  252. * {@inheritDoc}
  253. */
  254. public function setCategorie($Categorie)
  255. {
  256. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCategorie', [$Categorie]);
  257. return parent::setCategorie($Categorie);
  258. }
  259. /**
  260. * {@inheritDoc}
  261. */
  262. public function getMail()
  263. {
  264. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMail', []);
  265. return parent::getMail();
  266. }
  267. /**
  268. * {@inheritDoc}
  269. */
  270. public function getTelephone()
  271. {
  272. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTelephone', []);
  273. return parent::getTelephone();
  274. }
  275. /**
  276. * {@inheritDoc}
  277. */
  278. public function getAdresse()
  279. {
  280. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAdresse', []);
  281. return parent::getAdresse();
  282. }
  283. /**
  284. * {@inheritDoc}
  285. */
  286. public function setMail($Mail)
  287. {
  288. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setMail', [$Mail]);
  289. return parent::setMail($Mail);
  290. }
  291. /**
  292. * {@inheritDoc}
  293. */
  294. public function setTelephone($Telephone)
  295. {
  296. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTelephone', [$Telephone]);
  297. return parent::setTelephone($Telephone);
  298. }
  299. /**
  300. * {@inheritDoc}
  301. */
  302. public function setAdresse($Adresse)
  303. {
  304. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAdresse', [$Adresse]);
  305. return parent::setAdresse($Adresse);
  306. }
  307. /**
  308. * {@inheritDoc}
  309. */
  310. public function __toString()
  311. {
  312. $this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);
  313. return parent::__toString();
  314. }
  315. }