var/cache/dev/doctrine/orm/Proxies/__CG__EccubeEntityMember.php line 9

Open in your IDE?
  1. <?php
  2. namespace Proxies\__CG__\Eccube\Entity;
  3. /**
  4. * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
  5. */
  6. class Member extends \Eccube\Entity\Member 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\Proxy\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\Proxy\Proxy::__setCloner
  20. */
  21. public $__cloner__;
  22. /**
  23. * @var boolean flag indicating if this object was already initialized
  24. *
  25. * @see \Doctrine\Persistence\Proxy::__isInitialized
  26. */
  27. public $__isInitialized__ = false;
  28. /**
  29. * @var array<string, null> properties to be lazy loaded, indexed by property name
  30. */
  31. public static $lazyPropertiesNames = array (
  32. );
  33. /**
  34. * @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
  35. *
  36. * @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
  37. */
  38. public static $lazyPropertiesDefaults = array (
  39. );
  40. public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
  41. {
  42. $this->__initializer__ = $initializer;
  43. $this->__cloner__ = $cloner;
  44. }
  45. /**
  46. *
  47. * @return array
  48. */
  49. public function __sleep()
  50. {
  51. if ($this->__isInitialized__) {
  52. return ['__isInitialized__', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'id', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'name', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'department', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'login_id', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'plainPassword', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'password', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'salt', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'sort_no', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'two_factor_auth_key', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'two_factor_auth_enabled', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'create_date', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'update_date', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'login_date', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'Work', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'Authority', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'Creator'];
  53. }
  54. return ['__isInitialized__', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'id', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'name', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'department', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'login_id', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'plainPassword', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'password', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'salt', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'sort_no', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'two_factor_auth_key', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'two_factor_auth_enabled', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'create_date', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'update_date', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'login_date', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'Work', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'Authority', '' . "\0" . 'Eccube\\Entity\\Member' . "\0" . 'Creator'];
  55. }
  56. /**
  57. *
  58. */
  59. public function __wakeup()
  60. {
  61. if ( ! $this->__isInitialized__) {
  62. $this->__initializer__ = function (Member $proxy) {
  63. $proxy->__setInitializer(null);
  64. $proxy->__setCloner(null);
  65. $existingProperties = get_object_vars($proxy);
  66. foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) {
  67. if ( ! array_key_exists($property, $existingProperties)) {
  68. $proxy->$property = $defaultValue;
  69. }
  70. }
  71. };
  72. }
  73. }
  74. /**
  75. *
  76. */
  77. public function __clone()
  78. {
  79. $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
  80. }
  81. /**
  82. * Forces initialization of the proxy
  83. */
  84. public function __load(): void
  85. {
  86. $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
  87. }
  88. /**
  89. * {@inheritDoc}
  90. * @internal generated method: use only when explicitly handling proxy specific loading logic
  91. */
  92. public function __isInitialized(): bool
  93. {
  94. return $this->__isInitialized__;
  95. }
  96. /**
  97. * {@inheritDoc}
  98. * @internal generated method: use only when explicitly handling proxy specific loading logic
  99. */
  100. public function __setInitialized($initialized): void
  101. {
  102. $this->__isInitialized__ = $initialized;
  103. }
  104. /**
  105. * {@inheritDoc}
  106. * @internal generated method: use only when explicitly handling proxy specific loading logic
  107. */
  108. public function __setInitializer(?\Closure $initializer = null): void
  109. {
  110. $this->__initializer__ = $initializer;
  111. }
  112. /**
  113. * {@inheritDoc}
  114. * @internal generated method: use only when explicitly handling proxy specific loading logic
  115. */
  116. public function __getInitializer(): ?\Closure
  117. {
  118. return $this->__initializer__;
  119. }
  120. /**
  121. * {@inheritDoc}
  122. * @internal generated method: use only when explicitly handling proxy specific loading logic
  123. */
  124. public function __setCloner(?\Closure $cloner = null): void
  125. {
  126. $this->__cloner__ = $cloner;
  127. }
  128. /**
  129. * {@inheritDoc}
  130. * @internal generated method: use only when explicitly handling proxy specific cloning logic
  131. */
  132. public function __getCloner(): ?\Closure
  133. {
  134. return $this->__cloner__;
  135. }
  136. /**
  137. * {@inheritDoc}
  138. * @internal generated method: use only when explicitly handling proxy specific loading logic
  139. * @deprecated no longer in use - generated code now relies on internal components rather than generated public API
  140. * @static
  141. */
  142. public function __getLazyProperties(): array
  143. {
  144. return self::$lazyPropertiesDefaults;
  145. }
  146. /**
  147. * {@inheritDoc}
  148. */
  149. public function __toString(): string
  150. {
  151. $this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);
  152. return parent::__toString();
  153. }
  154. /**
  155. * {@inheritDoc}
  156. */
  157. public function getRoles()
  158. {
  159. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRoles', []);
  160. return parent::getRoles();
  161. }
  162. /**
  163. * {@inheritDoc}
  164. */
  165. public function getUsername()
  166. {
  167. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUsername', []);
  168. return parent::getUsername();
  169. }
  170. /**
  171. * {@inheritDoc}
  172. */
  173. public function eraseCredentials()
  174. {
  175. $this->__initializer__ && $this->__initializer__->__invoke($this, 'eraseCredentials', []);
  176. return parent::eraseCredentials();
  177. }
  178. /**
  179. * {@inheritDoc}
  180. */
  181. public function getId()
  182. {
  183. if ($this->__isInitialized__ === false) {
  184. return (int) parent::getId();
  185. }
  186. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);
  187. return parent::getId();
  188. }
  189. /**
  190. * {@inheritDoc}
  191. */
  192. public function setName($name = NULL)
  193. {
  194. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
  195. return parent::setName($name);
  196. }
  197. /**
  198. * {@inheritDoc}
  199. */
  200. public function getName()
  201. {
  202. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
  203. return parent::getName();
  204. }
  205. /**
  206. * {@inheritDoc}
  207. */
  208. public function setDepartment($department = NULL)
  209. {
  210. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDepartment', [$department]);
  211. return parent::setDepartment($department);
  212. }
  213. /**
  214. * {@inheritDoc}
  215. */
  216. public function getDepartment()
  217. {
  218. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDepartment', []);
  219. return parent::getDepartment();
  220. }
  221. /**
  222. * {@inheritDoc}
  223. */
  224. public function setLoginId($loginId)
  225. {
  226. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLoginId', [$loginId]);
  227. return parent::setLoginId($loginId);
  228. }
  229. /**
  230. * {@inheritDoc}
  231. */
  232. public function getLoginId()
  233. {
  234. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLoginId', []);
  235. return parent::getLoginId();
  236. }
  237. /**
  238. * {@inheritDoc}
  239. */
  240. public function getPlainPassword(): ?string
  241. {
  242. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPlainPassword', []);
  243. return parent::getPlainPassword();
  244. }
  245. /**
  246. * {@inheritDoc}
  247. */
  248. public function setPlainPassword(?string $password): \Eccube\Entity\Member
  249. {
  250. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPlainPassword', [$password]);
  251. return parent::setPlainPassword($password);
  252. }
  253. /**
  254. * {@inheritDoc}
  255. */
  256. public function setPassword($password)
  257. {
  258. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPassword', [$password]);
  259. return parent::setPassword($password);
  260. }
  261. /**
  262. * {@inheritDoc}
  263. */
  264. public function getPassword()
  265. {
  266. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPassword', []);
  267. return parent::getPassword();
  268. }
  269. /**
  270. * {@inheritDoc}
  271. */
  272. public function setSalt($salt)
  273. {
  274. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSalt', [$salt]);
  275. return parent::setSalt($salt);
  276. }
  277. /**
  278. * {@inheritDoc}
  279. */
  280. public function getSalt()
  281. {
  282. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSalt', []);
  283. return parent::getSalt();
  284. }
  285. /**
  286. * {@inheritDoc}
  287. */
  288. public function setSortNo($sortNo)
  289. {
  290. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSortNo', [$sortNo]);
  291. return parent::setSortNo($sortNo);
  292. }
  293. /**
  294. * {@inheritDoc}
  295. */
  296. public function getSortNo()
  297. {
  298. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSortNo', []);
  299. return parent::getSortNo();
  300. }
  301. /**
  302. * {@inheritDoc}
  303. */
  304. public function setTwoFactorAuthKey($two_factor_auth_key)
  305. {
  306. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTwoFactorAuthKey', [$two_factor_auth_key]);
  307. return parent::setTwoFactorAuthKey($two_factor_auth_key);
  308. }
  309. /**
  310. * {@inheritDoc}
  311. */
  312. public function getTwoFactorAuthKey()
  313. {
  314. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTwoFactorAuthKey', []);
  315. return parent::getTwoFactorAuthKey();
  316. }
  317. /**
  318. * {@inheritDoc}
  319. */
  320. public function setTwoFactorAuthEnabled($two_factor_auth_enabled)
  321. {
  322. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTwoFactorAuthEnabled', [$two_factor_auth_enabled]);
  323. return parent::setTwoFactorAuthEnabled($two_factor_auth_enabled);
  324. }
  325. /**
  326. * {@inheritDoc}
  327. */
  328. public function isTwoFactorAuthEnabled()
  329. {
  330. $this->__initializer__ && $this->__initializer__->__invoke($this, 'isTwoFactorAuthEnabled', []);
  331. return parent::isTwoFactorAuthEnabled();
  332. }
  333. /**
  334. * {@inheritDoc}
  335. */
  336. public function setCreateDate($createDate)
  337. {
  338. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreateDate', [$createDate]);
  339. return parent::setCreateDate($createDate);
  340. }
  341. /**
  342. * {@inheritDoc}
  343. */
  344. public function getCreateDate()
  345. {
  346. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreateDate', []);
  347. return parent::getCreateDate();
  348. }
  349. /**
  350. * {@inheritDoc}
  351. */
  352. public function setUpdateDate($updateDate)
  353. {
  354. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdateDate', [$updateDate]);
  355. return parent::setUpdateDate($updateDate);
  356. }
  357. /**
  358. * {@inheritDoc}
  359. */
  360. public function getUpdateDate()
  361. {
  362. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdateDate', []);
  363. return parent::getUpdateDate();
  364. }
  365. /**
  366. * {@inheritDoc}
  367. */
  368. public function setLoginDate($loginDate = NULL)
  369. {
  370. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLoginDate', [$loginDate]);
  371. return parent::setLoginDate($loginDate);
  372. }
  373. /**
  374. * {@inheritDoc}
  375. */
  376. public function getLoginDate()
  377. {
  378. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLoginDate', []);
  379. return parent::getLoginDate();
  380. }
  381. /**
  382. * {@inheritDoc}
  383. */
  384. public function setWork(?\Eccube\Entity\Master\Work $work = NULL)
  385. {
  386. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setWork', [$work]);
  387. return parent::setWork($work);
  388. }
  389. /**
  390. * {@inheritDoc}
  391. */
  392. public function getWork()
  393. {
  394. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWork', []);
  395. return parent::getWork();
  396. }
  397. /**
  398. * {@inheritDoc}
  399. */
  400. public function setAuthority(?\Eccube\Entity\Master\Authority $authority = NULL)
  401. {
  402. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAuthority', [$authority]);
  403. return parent::setAuthority($authority);
  404. }
  405. /**
  406. * {@inheritDoc}
  407. */
  408. public function getAuthority()
  409. {
  410. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAuthority', []);
  411. return parent::getAuthority();
  412. }
  413. /**
  414. * {@inheritDoc}
  415. */
  416. public function setCreator(?\Eccube\Entity\Member $creator = NULL)
  417. {
  418. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreator', [$creator]);
  419. return parent::setCreator($creator);
  420. }
  421. /**
  422. * {@inheritDoc}
  423. */
  424. public function getCreator()
  425. {
  426. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreator', []);
  427. return parent::getCreator();
  428. }
  429. /**
  430. * {@inheritDoc}
  431. */
  432. public function serialize()
  433. {
  434. $this->__initializer__ && $this->__initializer__->__invoke($this, 'serialize', []);
  435. return parent::serialize();
  436. }
  437. /**
  438. * {@inheritDoc}
  439. */
  440. public function unserialize($serialized)
  441. {
  442. $this->__initializer__ && $this->__initializer__->__invoke($this, 'unserialize', [$serialized]);
  443. return parent::unserialize($serialized);
  444. }
  445. /**
  446. * {@inheritDoc}
  447. */
  448. public function offsetExists($offset)
  449. {
  450. $this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetExists', [$offset]);
  451. return parent::offsetExists($offset);
  452. }
  453. /**
  454. * {@inheritDoc}
  455. */
  456. public function offsetSet($offset, $value)
  457. {
  458. $this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetSet', [$offset, $value]);
  459. return parent::offsetSet($offset, $value);
  460. }
  461. /**
  462. * {@inheritDoc}
  463. */
  464. public function offsetGet($offset)
  465. {
  466. $this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetGet', [$offset]);
  467. return parent::offsetGet($offset);
  468. }
  469. /**
  470. * {@inheritDoc}
  471. */
  472. public function offsetUnset($offset)
  473. {
  474. $this->__initializer__ && $this->__initializer__->__invoke($this, 'offsetUnset', [$offset]);
  475. return parent::offsetUnset($offset);
  476. }
  477. /**
  478. * {@inheritDoc}
  479. */
  480. public function setPropertiesFromArray(array $arrProps, array $excludeAttribute = [], ?\ReflectionClass $parentClass = NULL)
  481. {
  482. $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPropertiesFromArray', [$arrProps, $excludeAttribute, $parentClass]);
  483. return parent::setPropertiesFromArray($arrProps, $excludeAttribute, $parentClass);
  484. }
  485. /**
  486. * {@inheritDoc}
  487. */
  488. public function toArray(array $excludeAttribute = ['__initializer__', '__cloner__', '__isInitialized__'], ?\ReflectionClass $parentClass = NULL)
  489. {
  490. $this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', [$excludeAttribute, $parentClass]);
  491. return parent::toArray($excludeAttribute, $parentClass);
  492. }
  493. /**
  494. * {@inheritDoc}
  495. */
  496. public function toNormalizedArray(array $excludeAttribute = ['__initializer__', '__cloner__', '__isInitialized__'])
  497. {
  498. $this->__initializer__ && $this->__initializer__->__invoke($this, 'toNormalizedArray', [$excludeAttribute]);
  499. return parent::toNormalizedArray($excludeAttribute);
  500. }
  501. /**
  502. * {@inheritDoc}
  503. */
  504. public function toJSON(array $excludeAttribute = ['__initializer__', '__cloner__', '__isInitialized__'])
  505. {
  506. $this->__initializer__ && $this->__initializer__->__invoke($this, 'toJSON', [$excludeAttribute]);
  507. return parent::toJSON($excludeAttribute);
  508. }
  509. /**
  510. * {@inheritDoc}
  511. */
  512. public function toXML(array $excludeAttribute = ['__initializer__', '__cloner__', '__isInitialized__'])
  513. {
  514. $this->__initializer__ && $this->__initializer__->__invoke($this, 'toXML', [$excludeAttribute]);
  515. return parent::toXML($excludeAttribute);
  516. }
  517. /**
  518. * {@inheritDoc}
  519. */
  520. public function copyProperties($srcObject, array $excludeAttribute = [])
  521. {
  522. $this->__initializer__ && $this->__initializer__->__invoke($this, 'copyProperties', [$srcObject, $excludeAttribute]);
  523. return parent::copyProperties($srcObject, $excludeAttribute);
  524. }
  525. /**
  526. * {@inheritDoc}
  527. */
  528. public function getEntityIdentifierAsArray(\Eccube\Entity\AbstractEntity $Entity)
  529. {
  530. $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEntityIdentifierAsArray', [$Entity]);
  531. return parent::getEntityIdentifierAsArray($Entity);
  532. }
  533. }