PageRenderTime 51ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

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

https://bitbucket.org/Seymos/mybeautybookingsf2
PHP | 488 lines | 215 code | 117 blank | 156 comment | 34 complexity | 466d42d378719c28aa40e2d4c01e600f MD5 | raw file
  1. <?php
  2. namespace Proxies\__CG__\FAPROD\UserBundle\Entity;
  3. /**
  4. * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
  5. */
  6. class Image extends \FAPROD\UserBundle\Entity\Image 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" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'id', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'user', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'offer', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'filename', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'ext', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'alt', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'tempFilename', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'tempFilename_photo', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'tempFilename_zoom', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'created_at', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'updated_at');
  52. }
  53. return array('__isInitialized__', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'id', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'user', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'offer', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'filename', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'ext', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'alt', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'tempFilename', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'tempFilename_photo', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'tempFilename_zoom', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'created_at', '' . "\0" . 'FAPROD\\UserBundle\\Entity\\Image' . "\0" . 'updated_at');
  54. }
  55. /**
  56. *
  57. */
  58. public function __wakeup()
  59. {
  60. if ( ! $this->__isInitialized__) {
  61. $this->__initializer__ = function (Image $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 __toString()
  148. {
  149. $this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', array());
  150. return parent::__toString();
  151. }
  152. /**
  153. * {@inheritDoc}
  154. */
  155. public function updatedTimestamps()
  156. {
  157. $this->__initializer__ && $this->__initializer__->__invoke($this, 'updatedTimestamps', array());
  158. return parent::updatedTimestamps();
  159. }
  160. /**
  161. * {@inheritDoc}
  162. */
  163. public function setUpdatedAt($updatedAt)
  164. {
  165. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', array($updatedAt));
  166. return parent::setUpdatedAt($updatedAt);
  167. }
  168. /**
  169. * {@inheritDoc}
  170. */
  171. public function getUpdatedAt($format = '')
  172. {
  173. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', array($format));
  174. return parent::getUpdatedAt($format);
  175. }
  176. /**
  177. * {@inheritDoc}
  178. */
  179. public function setCreatedAt($createdAt)
  180. {
  181. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', array($createdAt));
  182. return parent::setCreatedAt($createdAt);
  183. }
  184. /**
  185. * {@inheritDoc}
  186. */
  187. public function getCreatedAt($format = '')
  188. {
  189. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', array($format));
  190. return parent::getCreatedAt($format);
  191. }
  192. /**
  193. * {@inheritDoc}
  194. */
  195. public function rotateImage($angle, $title)
  196. {
  197. $this->__initializer__ && $this->__initializer__->__invoke($this, 'rotateImage', array($angle, $title));
  198. return parent::rotateImage($angle, $title);
  199. }
  200. /**
  201. * {@inheritDoc}
  202. */
  203. public function upload($file_temp, $title)
  204. {
  205. $this->__initializer__ && $this->__initializer__->__invoke($this, 'upload', array($file_temp, $title));
  206. return parent::upload($file_temp, $title);
  207. }
  208. /**
  209. * {@inheritDoc}
  210. */
  211. public function preRemoveUpload()
  212. {
  213. $this->__initializer__ && $this->__initializer__->__invoke($this, 'preRemoveUpload', array());
  214. return parent::preRemoveUpload();
  215. }
  216. /**
  217. * {@inheritDoc}
  218. */
  219. public function getUploadDir()
  220. {
  221. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUploadDir', array());
  222. return parent::getUploadDir();
  223. }
  224. /**
  225. * {@inheritDoc}
  226. */
  227. public function getUploadRootDir()
  228. {
  229. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUploadRootDir', array());
  230. return parent::getUploadRootDir();
  231. }
  232. /**
  233. * {@inheritDoc}
  234. */
  235. public function getUrl()
  236. {
  237. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUrl', array());
  238. return parent::getUrl();
  239. }
  240. /**
  241. * {@inheritDoc}
  242. */
  243. public function getUrlPhoto()
  244. {
  245. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUrlPhoto', array());
  246. return parent::getUrlPhoto();
  247. }
  248. /**
  249. * {@inheritDoc}
  250. */
  251. public function getUrlZoom()
  252. {
  253. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUrlZoom', array());
  254. return parent::getUrlZoom();
  255. }
  256. /**
  257. * {@inheritDoc}
  258. */
  259. public function getWebPath()
  260. {
  261. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWebPath', array());
  262. return parent::getWebPath();
  263. }
  264. /**
  265. * {@inheritDoc}
  266. */
  267. public function getWebPathPhoto()
  268. {
  269. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWebPathPhoto', array());
  270. return parent::getWebPathPhoto();
  271. }
  272. /**
  273. * {@inheritDoc}
  274. */
  275. public function getWebPathZoom()
  276. {
  277. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWebPathZoom', array());
  278. return parent::getWebPathZoom();
  279. }
  280. /**
  281. * {@inheritDoc}
  282. */
  283. public function getId()
  284. {
  285. if ($this->__isInitialized__ === false) {
  286. return (int) parent::getId();
  287. }
  288. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
  289. return parent::getId();
  290. }
  291. /**
  292. * {@inheritDoc}
  293. */
  294. public function setFilename($filename)
  295. {
  296. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFilename', array($filename));
  297. return parent::setFilename($filename);
  298. }
  299. /**
  300. * {@inheritDoc}
  301. */
  302. public function getFilename()
  303. {
  304. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFilename', array());
  305. return parent::getFilename();
  306. }
  307. /**
  308. * {@inheritDoc}
  309. */
  310. public function setAlt($alt)
  311. {
  312. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAlt', array($alt));
  313. return parent::setAlt($alt);
  314. }
  315. /**
  316. * {@inheritDoc}
  317. */
  318. public function getAlt()
  319. {
  320. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAlt', array());
  321. return parent::getAlt();
  322. }
  323. /**
  324. * {@inheritDoc}
  325. */
  326. public function setExt($ext)
  327. {
  328. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setExt', array($ext));
  329. return parent::setExt($ext);
  330. }
  331. /**
  332. * {@inheritDoc}
  333. */
  334. public function getExt()
  335. {
  336. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getExt', array());
  337. return parent::getExt();
  338. }
  339. /**
  340. * {@inheritDoc}
  341. */
  342. public function setUser(\FAPROD\UserBundle\Entity\User $user = NULL)
  343. {
  344. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', array($user));
  345. return parent::setUser($user);
  346. }
  347. /**
  348. * {@inheritDoc}
  349. */
  350. public function getUser()
  351. {
  352. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', array());
  353. return parent::getUser();
  354. }
  355. /**
  356. * {@inheritDoc}
  357. */
  358. public function setOffer(\FAPROD\UserBundle\Entity\Offer $offer = NULL)
  359. {
  360. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setOffer', array($offer));
  361. return parent::setOffer($offer);
  362. }
  363. /**
  364. * {@inheritDoc}
  365. */
  366. public function getOffer()
  367. {
  368. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getOffer', array());
  369. return parent::getOffer();
  370. }
  371. }