/src/lib/Doctrine/Proxies/__CG__EntitiesSentEmail.php

https://gitlab.com/gothcon/cthulhu · PHP · 477 lines · 210 code · 114 blank · 153 comment · 33 complexity · 663d4bf1d0c9730342249c64d622efb8 MD5 · raw file

  1. <?php
  2. namespace Proxies\__CG__\Entities;
  3. /**
  4. * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
  5. */
  6. class SentEmail extends \Entities\SentEmail 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" . 'Entities\\SentEmail' . "\0" . 'subject', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'message', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'from', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'to', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'cc', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'bcc', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'asHtml', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'noOfRecipients', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'createdAt', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'createdBy', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'modifiedAt', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'modifiedBy', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'isDeleted', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'id');
  52. }
  53. return array('__isInitialized__', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'subject', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'message', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'from', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'to', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'cc', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'bcc', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'asHtml', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'noOfRecipients', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'createdAt', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'createdBy', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'modifiedAt', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'modifiedBy', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'isDeleted', '' . "\0" . 'Entities\\SentEmail' . "\0" . 'id');
  54. }
  55. /**
  56. *
  57. */
  58. public function __wakeup()
  59. {
  60. if ( ! $this->__isInitialized__) {
  61. $this->__initializer__ = function (SentEmail $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 setSubject($subject)
  148. {
  149. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSubject', array($subject));
  150. return parent::setSubject($subject);
  151. }
  152. /**
  153. * {@inheritDoc}
  154. */
  155. public function getSubject()
  156. {
  157. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubject', array());
  158. return parent::getSubject();
  159. }
  160. /**
  161. * {@inheritDoc}
  162. */
  163. public function setMessage($message)
  164. {
  165. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setMessage', array($message));
  166. return parent::setMessage($message);
  167. }
  168. /**
  169. * {@inheritDoc}
  170. */
  171. public function getMessage()
  172. {
  173. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMessage', array());
  174. return parent::getMessage();
  175. }
  176. /**
  177. * {@inheritDoc}
  178. */
  179. public function setFrom($from)
  180. {
  181. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFrom', array($from));
  182. return parent::setFrom($from);
  183. }
  184. /**
  185. * {@inheritDoc}
  186. */
  187. public function getFrom()
  188. {
  189. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFrom', array());
  190. return parent::getFrom();
  191. }
  192. /**
  193. * {@inheritDoc}
  194. */
  195. public function setTo($to)
  196. {
  197. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTo', array($to));
  198. return parent::setTo($to);
  199. }
  200. /**
  201. * {@inheritDoc}
  202. */
  203. public function getTo()
  204. {
  205. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTo', array());
  206. return parent::getTo();
  207. }
  208. /**
  209. * {@inheritDoc}
  210. */
  211. public function setCc($cc)
  212. {
  213. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCc', array($cc));
  214. return parent::setCc($cc);
  215. }
  216. /**
  217. * {@inheritDoc}
  218. */
  219. public function getCc()
  220. {
  221. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCc', array());
  222. return parent::getCc();
  223. }
  224. /**
  225. * {@inheritDoc}
  226. */
  227. public function setBcc($bcc)
  228. {
  229. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBcc', array($bcc));
  230. return parent::setBcc($bcc);
  231. }
  232. /**
  233. * {@inheritDoc}
  234. */
  235. public function getBcc()
  236. {
  237. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getBcc', array());
  238. return parent::getBcc();
  239. }
  240. /**
  241. * {@inheritDoc}
  242. */
  243. public function setAsHtml($asHtml)
  244. {
  245. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAsHtml', array($asHtml));
  246. return parent::setAsHtml($asHtml);
  247. }
  248. /**
  249. * {@inheritDoc}
  250. */
  251. public function getAsHtml()
  252. {
  253. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAsHtml', array());
  254. return parent::getAsHtml();
  255. }
  256. /**
  257. * {@inheritDoc}
  258. */
  259. public function setNoOfRecipients($noOfRecipients)
  260. {
  261. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNoOfRecipients', array($noOfRecipients));
  262. return parent::setNoOfRecipients($noOfRecipients);
  263. }
  264. /**
  265. * {@inheritDoc}
  266. */
  267. public function getNoOfRecipients()
  268. {
  269. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNoOfRecipients', array());
  270. return parent::getNoOfRecipients();
  271. }
  272. /**
  273. * {@inheritDoc}
  274. */
  275. public function setCreatedAt($createdAt)
  276. {
  277. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', array($createdAt));
  278. return parent::setCreatedAt($createdAt);
  279. }
  280. /**
  281. * {@inheritDoc}
  282. */
  283. public function getCreatedAt()
  284. {
  285. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', array());
  286. return parent::getCreatedAt();
  287. }
  288. /**
  289. * {@inheritDoc}
  290. */
  291. public function setCreatedBy($createdBy)
  292. {
  293. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedBy', array($createdBy));
  294. return parent::setCreatedBy($createdBy);
  295. }
  296. /**
  297. * {@inheritDoc}
  298. */
  299. public function getCreatedBy()
  300. {
  301. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedBy', array());
  302. return parent::getCreatedBy();
  303. }
  304. /**
  305. * {@inheritDoc}
  306. */
  307. public function setModifiedAt($modifiedAt)
  308. {
  309. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setModifiedAt', array($modifiedAt));
  310. return parent::setModifiedAt($modifiedAt);
  311. }
  312. /**
  313. * {@inheritDoc}
  314. */
  315. public function getModifiedAt()
  316. {
  317. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getModifiedAt', array());
  318. return parent::getModifiedAt();
  319. }
  320. /**
  321. * {@inheritDoc}
  322. */
  323. public function setModifiedBy($modifiedBy)
  324. {
  325. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setModifiedBy', array($modifiedBy));
  326. return parent::setModifiedBy($modifiedBy);
  327. }
  328. /**
  329. * {@inheritDoc}
  330. */
  331. public function getModifiedBy()
  332. {
  333. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getModifiedBy', array());
  334. return parent::getModifiedBy();
  335. }
  336. /**
  337. * {@inheritDoc}
  338. */
  339. public function setIsDeleted($isDeleted)
  340. {
  341. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsDeleted', array($isDeleted));
  342. return parent::setIsDeleted($isDeleted);
  343. }
  344. /**
  345. * {@inheritDoc}
  346. */
  347. public function getIsDeleted()
  348. {
  349. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsDeleted', array());
  350. return parent::getIsDeleted();
  351. }
  352. /**
  353. * {@inheritDoc}
  354. */
  355. public function getId()
  356. {
  357. if ($this->__isInitialized__ === false) {
  358. return (int) parent::getId();
  359. }
  360. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
  361. return parent::getId();
  362. }
  363. }