From 3c4046b432f6279cfdb76d7741b7c194c5b65178 Mon Sep 17 00:00:00 2001 From: aina-esokia Date: Tue, 21 May 2019 18:07:41 +0400 Subject: [PATCH] commit doctrine proxies files --- .gitignore | 2 +- ...hemyPhraseaModelEntitiesAggregateToken.php | 235 ++++ ..._AlchemyPhraseaModelEntitiesApiAccount.php | 312 +++++ ...hemyPhraseaModelEntitiesApiApplication.php | 510 ++++++++ ..._CG__AlchemyPhraseaModelEntitiesApiLog.php | 455 +++++++ ...lchemyPhraseaModelEntitiesApiOauthCode.php | 334 +++++ ...raseaModelEntitiesApiOauthRefreshToken.php | 312 +++++ ...chemyPhraseaModelEntitiesApiOauthToken.php | 356 ++++++ ...AlchemyPhraseaModelEntitiesAuthFailure.php | 279 +++++ ..._CG__AlchemyPhraseaModelEntitiesBasket.php | 488 ++++++++ ...chemyPhraseaModelEntitiesBasketElement.php | 389 ++++++ .../__CG__AlchemyPhraseaModelEntitiesFeed.php | 587 +++++++++ ...__AlchemyPhraseaModelEntitiesFeedEntry.php | 422 +++++++ ...G__AlchemyPhraseaModelEntitiesFeedItem.php | 345 ++++++ ...chemyPhraseaModelEntitiesFeedPublisher.php | 279 +++++ ...__AlchemyPhraseaModelEntitiesFeedToken.php | 257 ++++ ...chemyPhraseaModelEntitiesFtpCredential.php | 433 +++++++ ...__AlchemyPhraseaModelEntitiesFtpExport.php | 609 ++++++++++ ...myPhraseaModelEntitiesFtpExportElement.php | 433 +++++++ ...myPhraseaModelEntitiesLazaretAttribute.php | 301 +++++ ...lchemyPhraseaModelEntitiesLazaretCheck.php | 257 ++++ ...AlchemyPhraseaModelEntitiesLazaretFile.php | 521 ++++++++ ...hemyPhraseaModelEntitiesLazaretSession.php | 290 +++++ ...__CG__AlchemyPhraseaModelEntitiesOrder.php | 411 +++++++ ...lchemyPhraseaModelEntitiesOrderElement.php | 323 +++++ ..._CG__AlchemyPhraseaModelEntitiesPreset.php | 301 +++++ ...lchemyPhraseaModelEntitiesRegistration.php | 345 ++++++ ..._CG__AlchemyPhraseaModelEntitiesSecret.php | 224 ++++ ...CG__AlchemyPhraseaModelEntitiesSession.php | 510 ++++++++ ...chemyPhraseaModelEntitiesSessionModule.php | 279 +++++ ...CG__AlchemyPhraseaModelEntitiesStoryWZ.php | 301 +++++ .../__CG__AlchemyPhraseaModelEntitiesTask.php | 433 +++++++ ...__CG__AlchemyPhraseaModelEntitiesToken.php | 334 +++++ .../__CG__AlchemyPhraseaModelEntitiesUser.php | 1082 +++++++++++++++++ ...eaModelEntitiesUserNotificationSetting.php | 301 +++++ ...__AlchemyPhraseaModelEntitiesUserQuery.php | 257 ++++ ...AlchemyPhraseaModelEntitiesUserSetting.php | 301 +++++ ...emyPhraseaModelEntitiesUsrAuthProvider.php | 301 +++++ ...CG__AlchemyPhraseaModelEntitiesUsrList.php | 356 ++++++ ...lchemyPhraseaModelEntitiesUsrListEntry.php | 279 +++++ ...lchemyPhraseaModelEntitiesUsrListOwner.php | 301 +++++ ...hemyPhraseaModelEntitiesValidationData.php | 301 +++++ ...aseaModelEntitiesValidationParticipant.php | 389 ++++++ ...yPhraseaModelEntitiesValidationSession.php | 378 ++++++ ...lchemyPhraseaModelEntitiesWebhookEvent.php | 301 +++++ ...raseaModelEntitiesWebhookEventDelivery.php | 312 +++++ ...hraseaModelEntitiesWebhookEventPayload.php | 246 ++++ 47 files changed, 16971 insertions(+), 1 deletion(-) create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesAggregateToken.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiAccount.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiApplication.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiLog.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiOauthCode.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiOauthRefreshToken.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiOauthToken.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesAuthFailure.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesBasket.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesBasketElement.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeed.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeedEntry.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeedItem.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeedPublisher.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeedToken.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesFtpCredential.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesFtpExport.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesFtpExportElement.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesLazaretAttribute.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesLazaretCheck.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesLazaretFile.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesLazaretSession.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesOrder.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesOrderElement.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesPreset.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesRegistration.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesSecret.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesSession.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesSessionModule.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesStoryWZ.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesTask.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesToken.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesUser.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesUserNotificationSetting.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesUserQuery.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesUserSetting.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesUsrAuthProvider.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesUsrList.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesUsrListEntry.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesUsrListOwner.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesValidationData.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesValidationParticipant.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesValidationSession.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesWebhookEvent.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesWebhookEventDelivery.php create mode 100644 resources/proxies/__CG__AlchemyPhraseaModelEntitiesWebhookEventPayload.php diff --git a/.gitignore b/.gitignore index 0e0d55c9b7..dc81372af0 100644 --- a/.gitignore +++ b/.gitignore @@ -21,7 +21,7 @@ !/config/configuration.sample.yml # Exclude generated proxies from doctrine2 -/resources/proxies +#/resources/proxies # Exclude temporaries resources (zip files, quarantine documents etc ..) folder /tmp diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesAggregateToken.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesAggregateToken.php new file mode 100644 index 0000000000..f2fba09691 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesAggregateToken.php @@ -0,0 +1,235 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\AggregateToken' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\AggregateToken' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\AggregateToken' . "\0" . 'value']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\AggregateToken' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\AggregateToken' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\AggregateToken' . "\0" . 'value']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (AggregateToken $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function setValue($value) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setValue', [$value]); + + return parent::setValue($value); + } + + /** + * {@inheritDoc} + */ + public function getValue() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getValue', []); + + return parent::getValue(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiAccount.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiAccount.php new file mode 100644 index 0000000000..f5a1c4c5b9 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiAccount.php @@ -0,0 +1,312 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiAccount' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiAccount' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiAccount' . "\0" . 'revoked', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiAccount' . "\0" . 'apiVersion', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiAccount' . "\0" . 'application', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiAccount' . "\0" . 'tokens', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiAccount' . "\0" . 'created']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiAccount' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiAccount' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiAccount' . "\0" . 'revoked', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiAccount' . "\0" . 'apiVersion', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiAccount' . "\0" . 'application', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiAccount' . "\0" . 'tokens', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiAccount' . "\0" . 'created']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (ApiAccount $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function setApiVersion($apiVersion) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setApiVersion', [$apiVersion]); + + return parent::setApiVersion($apiVersion); + } + + /** + * {@inheritDoc} + */ + public function getApiVersion() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getApiVersion', []); + + return parent::getApiVersion(); + } + + /** + * {@inheritDoc} + */ + public function setApplication(\Alchemy\Phrasea\Model\Entities\ApiApplication $application) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setApplication', [$application]); + + return parent::setApplication($application); + } + + /** + * {@inheritDoc} + */ + public function getApplication() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getApplication', []); + + return parent::getApplication(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setRevoked($revoked) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRevoked', [$revoked]); + + return parent::setRevoked($revoked); + } + + /** + * {@inheritDoc} + */ + public function isRevoked() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isRevoked', []); + + return parent::isRevoked(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function addTokens(\Alchemy\Phrasea\Model\Entities\ApiOauthToken $token) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addTokens', [$token]); + + return parent::addTokens($token); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiApplication.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiApplication.php new file mode 100644 index 0000000000..fd9cba3cc3 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiApplication.php @@ -0,0 +1,510 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'creator', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'type', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'name', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'description', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'website', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'clientId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'clientSecret', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'nonce', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'redirectUri', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'activated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'grantPassword', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'accounts', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'webhookUrl']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'creator', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'type', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'name', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'description', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'website', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'clientId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'clientSecret', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'nonce', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'redirectUri', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'activated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'grantPassword', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'accounts', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiApplication' . "\0" . 'webhookUrl']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (ApiApplication $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function setActivated($activated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setActivated', [$activated]); + + return parent::setActivated($activated); + } + + /** + * {@inheritDoc} + */ + public function isActivated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isActivated', []); + + return parent::isActivated(); + } + + /** + * {@inheritDoc} + */ + public function setClientId($clientId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setClientId', [$clientId]); + + return parent::setClientId($clientId); + } + + /** + * {@inheritDoc} + */ + public function getClientId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getClientId', []); + + return parent::getClientId(); + } + + /** + * {@inheritDoc} + */ + public function setClientSecret($clientSecret) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setClientSecret', [$clientSecret]); + + return parent::setClientSecret($clientSecret); + } + + /** + * {@inheritDoc} + */ + public function getClientSecret() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getClientSecret', []); + + return parent::getClientSecret(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setCreator(\Alchemy\Phrasea\Model\Entities\User $creator = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreator', [$creator]); + + return parent::setCreator($creator); + } + + /** + * {@inheritDoc} + */ + public function getCreator() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreator', []); + + return parent::getCreator(); + } + + /** + * {@inheritDoc} + */ + public function setDescription($description) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', [$description]); + + return parent::setDescription($description); + } + + /** + * {@inheritDoc} + */ + public function getDescription() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', []); + + return parent::getDescription(); + } + + /** + * {@inheritDoc} + */ + public function setGrantPassword($grantPassword) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setGrantPassword', [$grantPassword]); + + return parent::setGrantPassword($grantPassword); + } + + /** + * {@inheritDoc} + */ + public function isPasswordGranted() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isPasswordGranted', []); + + return parent::isPasswordGranted(); + } + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setName($name) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]); + + return parent::setName($name); + } + + /** + * {@inheritDoc} + */ + public function getName() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []); + + return parent::getName(); + } + + /** + * {@inheritDoc} + */ + public function setNonce($nonce) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNonce', [$nonce]); + + return parent::setNonce($nonce); + } + + /** + * {@inheritDoc} + */ + public function getNonce() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNonce', []); + + return parent::getNonce(); + } + + /** + * {@inheritDoc} + */ + public function setRedirectUri($redirectUri) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRedirectUri', [$redirectUri]); + + return parent::setRedirectUri($redirectUri); + } + + /** + * {@inheritDoc} + */ + public function getRedirectUri() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRedirectUri', []); + + return parent::getRedirectUri(); + } + + /** + * {@inheritDoc} + */ + public function setType($type) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setType', [$type]); + + return parent::setType($type); + } + + /** + * {@inheritDoc} + */ + public function getType() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getType', []); + + return parent::getType(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function setWebsite($website) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setWebsite', [$website]); + + return parent::setWebsite($website); + } + + /** + * {@inheritDoc} + */ + public function getWebsite() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWebsite', []); + + return parent::getWebsite(); + } + + /** + * {@inheritDoc} + */ + public function setWebhookUrl($webhookUrl) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setWebhookUrl', [$webhookUrl]); + + return parent::setWebhookUrl($webhookUrl); + } + + /** + * {@inheritDoc} + */ + public function getWebhookUrl() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWebhookUrl', []); + + return parent::getWebhookUrl(); + } + + /** + * {@inheritDoc} + */ + public function addAccount(\Alchemy\Phrasea\Model\Entities\ApiAccount $account) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addAccount', [$account]); + + return parent::addAccount($account); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiLog.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiLog.php new file mode 100644 index 0000000000..327edb3e7d --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiLog.php @@ -0,0 +1,455 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'account', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'route', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'method', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'statusCode', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'format', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'resource', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'general', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'aspect', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'action', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'errorCode', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'errorMessage']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'account', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'route', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'method', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'statusCode', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'format', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'resource', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'general', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'aspect', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'action', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'errorCode', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiLog' . "\0" . 'errorMessage']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (ApiLog $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function setAccount(\Alchemy\Phrasea\Model\Entities\ApiAccount $account) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAccount', [$account]); + + return parent::setAccount($account); + } + + /** + * {@inheritDoc} + */ + public function getAccount() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAccount', []); + + return parent::getAccount(); + } + + /** + * {@inheritDoc} + */ + public function setAction($action) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAction', [$action]); + + return parent::setAction($action); + } + + /** + * {@inheritDoc} + */ + public function getAction() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAction', []); + + return parent::getAction(); + } + + /** + * {@inheritDoc} + */ + public function setAspect($aspect) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAspect', [$aspect]); + + return parent::setAspect($aspect); + } + + /** + * {@inheritDoc} + */ + public function getAspect() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAspect', []); + + return parent::getAspect(); + } + + /** + * {@inheritDoc} + */ + public function setErrorCode($errorCode) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setErrorCode', [$errorCode]); + + return parent::setErrorCode($errorCode); + } + + /** + * {@inheritDoc} + */ + public function getErrorCode() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getErrorCode', []); + + return parent::getErrorCode(); + } + + /** + * {@inheritDoc} + */ + public function setErrorMessage($errorMessage) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setErrorMessage', [$errorMessage]); + + return parent::setErrorMessage($errorMessage); + } + + /** + * {@inheritDoc} + */ + public function getErrorMessage() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getErrorMessage', []); + + return parent::getErrorMessage(); + } + + /** + * {@inheritDoc} + */ + public function setFormat($format) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFormat', [$format]); + + return parent::setFormat($format); + } + + /** + * {@inheritDoc} + */ + public function getFormat() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFormat', []); + + return parent::getFormat(); + } + + /** + * {@inheritDoc} + */ + public function setGeneral($general) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setGeneral', [$general]); + + return parent::setGeneral($general); + } + + /** + * {@inheritDoc} + */ + public function getGeneral() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getGeneral', []); + + return parent::getGeneral(); + } + + /** + * {@inheritDoc} + */ + public function setResource($resource) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setResource', [$resource]); + + return parent::setResource($resource); + } + + /** + * {@inheritDoc} + */ + public function getResource() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getResource', []); + + return parent::getResource(); + } + + /** + * {@inheritDoc} + */ + public function setRoute($route) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRoute', [$route]); + + return parent::setRoute($route); + } + + /** + * {@inheritDoc} + */ + public function getRoute() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRoute', []); + + return parent::getRoute(); + } + + /** + * {@inheritDoc} + */ + public function setStatusCode($statusCode) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setStatusCode', [$statusCode]); + + return parent::setStatusCode($statusCode); + } + + /** + * {@inheritDoc} + */ + public function getStatusCode() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatusCode', []); + + return parent::getStatusCode(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setMethod($method) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setMethod', [$method]); + + return parent::setMethod($method); + } + + /** + * {@inheritDoc} + */ + public function getMethod() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMethod', []); + + return parent::getMethod(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiOauthCode.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiOauthCode.php new file mode 100644 index 0000000000..74b09734af --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiOauthCode.php @@ -0,0 +1,334 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthCode' . "\0" . 'code', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthCode' . "\0" . 'account', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthCode' . "\0" . 'redirectUri', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthCode' . "\0" . 'expires', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthCode' . "\0" . 'scope', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthCode' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthCode' . "\0" . 'updated']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthCode' . "\0" . 'code', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthCode' . "\0" . 'account', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthCode' . "\0" . 'redirectUri', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthCode' . "\0" . 'expires', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthCode' . "\0" . 'scope', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthCode' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthCode' . "\0" . 'updated']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (ApiOauthCode $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function setAccount(\Alchemy\Phrasea\Model\Entities\ApiAccount $account) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAccount', [$account]); + + return parent::setAccount($account); + } + + /** + * {@inheritDoc} + */ + public function getAccount() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAccount', []); + + return parent::getAccount(); + } + + /** + * {@inheritDoc} + */ + public function setCode($code) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCode', [$code]); + + return parent::setCode($code); + } + + /** + * {@inheritDoc} + */ + public function getCode() + { + if ($this->__isInitialized__ === false) { + return parent::getCode(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCode', []); + + return parent::getCode(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setExpires($timestamp) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setExpires', [$timestamp]); + + return parent::setExpires($timestamp); + } + + /** + * {@inheritDoc} + */ + public function getExpires() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getExpires', []); + + return parent::getExpires(); + } + + /** + * {@inheritDoc} + */ + public function setRedirectUri($redirectUri) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRedirectUri', [$redirectUri]); + + return parent::setRedirectUri($redirectUri); + } + + /** + * {@inheritDoc} + */ + public function getRedirectUri() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRedirectUri', []); + + return parent::getRedirectUri(); + } + + /** + * {@inheritDoc} + */ + public function setScope($scope) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setScope', [$scope]); + + return parent::setScope($scope); + } + + /** + * {@inheritDoc} + */ + public function getScope() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getScope', []); + + return parent::getScope(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiOauthRefreshToken.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiOauthRefreshToken.php new file mode 100644 index 0000000000..98f60ef277 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiOauthRefreshToken.php @@ -0,0 +1,312 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthRefreshToken' . "\0" . 'refreshToken', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthRefreshToken' . "\0" . 'account', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthRefreshToken' . "\0" . 'expires', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthRefreshToken' . "\0" . 'scope', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthRefreshToken' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthRefreshToken' . "\0" . 'updated']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthRefreshToken' . "\0" . 'refreshToken', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthRefreshToken' . "\0" . 'account', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthRefreshToken' . "\0" . 'expires', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthRefreshToken' . "\0" . 'scope', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthRefreshToken' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthRefreshToken' . "\0" . 'updated']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (ApiOauthRefreshToken $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function setAccount(\Alchemy\Phrasea\Model\Entities\ApiAccount $account) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAccount', [$account]); + + return parent::setAccount($account); + } + + /** + * {@inheritDoc} + */ + public function getAccount() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAccount', []); + + return parent::getAccount(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setExpires($expires) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setExpires', [$expires]); + + return parent::setExpires($expires); + } + + /** + * {@inheritDoc} + */ + public function getExpires() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getExpires', []); + + return parent::getExpires(); + } + + /** + * {@inheritDoc} + */ + public function setRefreshToken($refreshToken) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRefreshToken', [$refreshToken]); + + return parent::setRefreshToken($refreshToken); + } + + /** + * {@inheritDoc} + */ + public function getRefreshToken() + { + if ($this->__isInitialized__ === false) { + return parent::getRefreshToken(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRefreshToken', []); + + return parent::getRefreshToken(); + } + + /** + * {@inheritDoc} + */ + public function setScope($scope) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setScope', [$scope]); + + return parent::setScope($scope); + } + + /** + * {@inheritDoc} + */ + public function getScope() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getScope', []); + + return parent::getScope(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiOauthToken.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiOauthToken.php new file mode 100644 index 0000000000..7ae62f9184 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesApiOauthToken.php @@ -0,0 +1,356 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthToken' . "\0" . 'oauthToken', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthToken' . "\0" . 'sessionId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthToken' . "\0" . 'account', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthToken' . "\0" . 'expires', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthToken' . "\0" . 'lastUsed', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthToken' . "\0" . 'scope', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthToken' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthToken' . "\0" . 'updated']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthToken' . "\0" . 'oauthToken', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthToken' . "\0" . 'sessionId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthToken' . "\0" . 'account', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthToken' . "\0" . 'expires', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthToken' . "\0" . 'lastUsed', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthToken' . "\0" . 'scope', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthToken' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ApiOauthToken' . "\0" . 'updated']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (ApiOauthToken $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function setAccount(\Alchemy\Phrasea\Model\Entities\ApiAccount $account) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAccount', [$account]); + + return parent::setAccount($account); + } + + /** + * {@inheritDoc} + */ + public function getAccount() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAccount', []); + + return parent::getAccount(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setExpires($expires = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setExpires', [$expires]); + + return parent::setExpires($expires); + } + + /** + * {@inheritDoc} + */ + public function getExpires() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getExpires', []); + + return parent::getExpires(); + } + + /** + * {@inheritDoc} + */ + public function setOauthToken($oauthToken) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setOauthToken', [$oauthToken]); + + return parent::setOauthToken($oauthToken); + } + + /** + * {@inheritDoc} + */ + public function getOauthToken() + { + if ($this->__isInitialized__ === false) { + return parent::getOauthToken(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getOauthToken', []); + + return parent::getOauthToken(); + } + + /** + * {@inheritDoc} + */ + public function setScope($scope) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setScope', [$scope]); + + return parent::setScope($scope); + } + + /** + * {@inheritDoc} + */ + public function getScope() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getScope', []); + + return parent::getScope(); + } + + /** + * {@inheritDoc} + */ + public function setSessionId($sessionId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSessionId', [$sessionId]); + + return parent::setSessionId($sessionId); + } + + /** + * {@inheritDoc} + */ + public function getSessionId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSessionId', []); + + return parent::getSessionId(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function setLastUsed(\DateTime $lastUsed) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastUsed', [$lastUsed]); + + return parent::setLastUsed($lastUsed); + } + + /** + * {@inheritDoc} + */ + public function getLastUsed() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastUsed', []); + + return parent::getLastUsed(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesAuthFailure.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesAuthFailure.php new file mode 100644 index 0000000000..67ad235a87 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesAuthFailure.php @@ -0,0 +1,279 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\AuthFailure' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\AuthFailure' . "\0" . 'username', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\AuthFailure' . "\0" . 'ip', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\AuthFailure' . "\0" . 'locked', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\AuthFailure' . "\0" . 'created']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\AuthFailure' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\AuthFailure' . "\0" . 'username', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\AuthFailure' . "\0" . 'ip', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\AuthFailure' . "\0" . 'locked', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\AuthFailure' . "\0" . 'created']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (AuthFailure $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setUsername($username) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUsername', [$username]); + + return parent::setUsername($username); + } + + /** + * {@inheritDoc} + */ + public function getUsername() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUsername', []); + + return parent::getUsername(); + } + + /** + * {@inheritDoc} + */ + public function setIp($ip) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIp', [$ip]); + + return parent::setIp($ip); + } + + /** + * {@inheritDoc} + */ + public function getIp() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIp', []); + + return parent::getIp(); + } + + /** + * {@inheritDoc} + */ + public function setLocked($locked) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLocked', [$locked]); + + return parent::setLocked($locked); + } + + /** + * {@inheritDoc} + */ + public function getLocked() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLocked', []); + + return parent::getLocked(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesBasket.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesBasket.php new file mode 100644 index 0000000000..aedc9247ff --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesBasket.php @@ -0,0 +1,488 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'name', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'description', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'isRead', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'pusher', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'archived', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'validation', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'elements', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'order']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'name', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'description', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'isRead', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'pusher', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'archived', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'validation', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'elements', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Basket' . "\0" . 'order']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (Basket $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setName($name) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]); + + return parent::setName($name); + } + + /** + * {@inheritDoc} + */ + public function getName() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []); + + return parent::getName(); + } + + /** + * {@inheritDoc} + */ + public function setDescription($description) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', [$description]); + + return parent::setDescription($description); + } + + /** + * {@inheritDoc} + */ + public function getDescription() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', []); + + return parent::getDescription(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function markRead() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'markRead', []); + + return parent::markRead(); + } + + /** + * {@inheritDoc} + */ + public function markUnread() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'markUnread', []); + + return parent::markUnread(); + } + + /** + * {@inheritDoc} + */ + public function isRead() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isRead', []); + + return parent::isRead(); + } + + /** + * {@inheritDoc} + */ + public function setPusher(\Alchemy\Phrasea\Model\Entities\User $user = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPusher', [$user]); + + return parent::setPusher($user); + } + + /** + * {@inheritDoc} + */ + public function getPusher() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPusher', []); + + return parent::getPusher(); + } + + /** + * {@inheritDoc} + */ + public function setArchived($archived) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setArchived', [$archived]); + + return parent::setArchived($archived); + } + + /** + * {@inheritDoc} + */ + public function getArchived() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getArchived', []); + + return parent::getArchived(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function setValidation(\Alchemy\Phrasea\Model\Entities\ValidationSession $validation = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setValidation', [$validation]); + + return parent::setValidation($validation); + } + + /** + * {@inheritDoc} + */ + public function getValidation() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getValidation', []); + + return parent::getValidation(); + } + + /** + * {@inheritDoc} + */ + public function addElement(\Alchemy\Phrasea\Model\Entities\BasketElement $element) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addElement', [$element]); + + return parent::addElement($element); + } + + /** + * {@inheritDoc} + */ + public function removeElement(\Alchemy\Phrasea\Model\Entities\BasketElement $element) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeElement', [$element]); + + return parent::removeElement($element); + } + + /** + * {@inheritDoc} + */ + public function setOrder(\Alchemy\Phrasea\Model\Entities\Order $order = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setOrder', [$order]); + + return parent::setOrder($order); + } + + /** + * {@inheritDoc} + */ + public function getOrder() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getOrder', []); + + return parent::getOrder(); + } + + /** + * {@inheritDoc} + */ + public function getElements() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getElements', []); + + return parent::getElements(); + } + + /** + * {@inheritDoc} + */ + public function getElementsByOrder($order) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getElementsByOrder', [$order]); + + return parent::getElementsByOrder($order); + } + + /** + * {@inheritDoc} + */ + public function hasRecord(\Alchemy\Phrasea\Application $app, \record_adapter $record) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasRecord', [$app, $record]); + + return parent::hasRecord($app, $record); + } + + /** + * {@inheritDoc} + */ + public function getSize(\Alchemy\Phrasea\Application $app) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSize', [$app]); + + return parent::getSize($app); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesBasketElement.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesBasketElement.php new file mode 100644 index 0000000000..724d8a5c47 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesBasketElement.php @@ -0,0 +1,389 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\BasketElement' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\BasketElement' . "\0" . 'record_id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\BasketElement' . "\0" . 'sbas_id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\BasketElement' . "\0" . 'ord', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\BasketElement' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\BasketElement' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\BasketElement' . "\0" . 'validation_datas', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\BasketElement' . "\0" . 'basket']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\BasketElement' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\BasketElement' . "\0" . 'record_id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\BasketElement' . "\0" . 'sbas_id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\BasketElement' . "\0" . 'ord', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\BasketElement' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\BasketElement' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\BasketElement' . "\0" . 'validation_datas', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\BasketElement' . "\0" . 'basket']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (BasketElement $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setRecordId($recordId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRecordId', [$recordId]); + + return parent::setRecordId($recordId); + } + + /** + * {@inheritDoc} + */ + public function getRecordId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRecordId', []); + + return parent::getRecordId(); + } + + /** + * {@inheritDoc} + */ + public function setSbasId($sbasId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSbasId', [$sbasId]); + + return parent::setSbasId($sbasId); + } + + /** + * {@inheritDoc} + */ + public function getSbasId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSbasId', []); + + return parent::getSbasId(); + } + + /** + * {@inheritDoc} + */ + public function getRecord(\Alchemy\Phrasea\Application $app) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRecord', [$app]); + + return parent::getRecord($app); + } + + /** + * {@inheritDoc} + */ + public function setRecord(\record_adapter $record) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRecord', [$record]); + + return parent::setRecord($record); + } + + /** + * {@inheritDoc} + */ + public function setOrd($ord) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setOrd', [$ord]); + + return parent::setOrd($ord); + } + + /** + * {@inheritDoc} + */ + public function getOrd() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getOrd', []); + + return parent::getOrd(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function addValidationData(\Alchemy\Phrasea\Model\Entities\ValidationData $validationDatas) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addValidationData', [$validationDatas]); + + return parent::addValidationData($validationDatas); + } + + /** + * {@inheritDoc} + */ + public function removeValidationData(\Alchemy\Phrasea\Model\Entities\ValidationData $validationDatas) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeValidationData', [$validationDatas]); + + return parent::removeValidationData($validationDatas); + } + + /** + * {@inheritDoc} + */ + public function getValidationDatas() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getValidationDatas', []); + + return parent::getValidationDatas(); + } + + /** + * {@inheritDoc} + */ + public function setBasket(\Alchemy\Phrasea\Model\Entities\Basket $basket = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBasket', [$basket]); + + return parent::setBasket($basket); + } + + /** + * {@inheritDoc} + */ + public function getBasket() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getBasket', []); + + return parent::getBasket(); + } + + /** + * {@inheritDoc} + */ + public function getUserValidationDatas(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserValidationDatas', [$user]); + + return parent::getUserValidationDatas($user); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeed.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeed.php new file mode 100644 index 0000000000..b8addb8e6b --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeed.php @@ -0,0 +1,587 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'public', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'iconUrl', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'baseId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'title', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'subtitle', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'createdOn', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'updatedOn', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'publishers', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'entries', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'tokens']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'public', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'iconUrl', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'baseId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'title', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'subtitle', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'createdOn', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'updatedOn', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'publishers', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'entries', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Feed' . "\0" . 'tokens']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (Feed $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setIsPublic($public) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsPublic', [$public]); + + return parent::setIsPublic($public); + } + + /** + * {@inheritDoc} + */ + public function isPublic() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isPublic', []); + + return parent::isPublic(); + } + + /** + * {@inheritDoc} + */ + public function setIconUrl($iconUrl) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIconUrl', [$iconUrl]); + + return parent::setIconUrl($iconUrl); + } + + /** + * {@inheritDoc} + */ + public function getIconUrl() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIconUrl', []); + + return parent::getIconUrl(); + } + + /** + * {@inheritDoc} + */ + public function setBaseId($baseId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBaseId', [$baseId]); + + return parent::setBaseId($baseId); + } + + /** + * {@inheritDoc} + */ + public function getBaseId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getBaseId', []); + + return parent::getBaseId(); + } + + /** + * {@inheritDoc} + */ + public function setTitle($title) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTitle', [$title]); + + return parent::setTitle($title); + } + + /** + * {@inheritDoc} + */ + public function getTitle() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTitle', []); + + return parent::getTitle(); + } + + /** + * {@inheritDoc} + */ + public function addPublisher(\Alchemy\Phrasea\Model\Entities\FeedPublisher $publishers) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addPublisher', [$publishers]); + + return parent::addPublisher($publishers); + } + + /** + * {@inheritDoc} + */ + public function removePublisher(\Alchemy\Phrasea\Model\Entities\FeedPublisher $publishers) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'removePublisher', [$publishers]); + + return parent::removePublisher($publishers); + } + + /** + * {@inheritDoc} + */ + public function getPublishers() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPublishers', []); + + return parent::getPublishers(); + } + + /** + * {@inheritDoc} + */ + public function addEntry(\Alchemy\Phrasea\Model\Entities\FeedEntry $entries) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addEntry', [$entries]); + + return parent::addEntry($entries); + } + + /** + * {@inheritDoc} + */ + public function removeEntry(\Alchemy\Phrasea\Model\Entities\FeedEntry $entries) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeEntry', [$entries]); + + return parent::removeEntry($entries); + } + + /** + * {@inheritDoc} + */ + public function getEntries() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEntries', []); + + return parent::getEntries(); + } + + /** + * {@inheritDoc} + */ + public function getOwner() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getOwner', []); + + return parent::getOwner(); + } + + /** + * {@inheritDoc} + */ + public function isOwner(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isOwner', [$user]); + + return parent::isOwner($user); + } + + /** + * {@inheritDoc} + */ + public function getCollection(\Alchemy\Phrasea\Application $app) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCollection', [$app]); + + return parent::getCollection($app); + } + + /** + * {@inheritDoc} + */ + public function setCollection(\collection $collection = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCollection', [$collection]); + + return parent::setCollection($collection); + } + + /** + * {@inheritDoc} + */ + public function setCreatedOn($createdOn) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedOn', [$createdOn]); + + return parent::setCreatedOn($createdOn); + } + + /** + * {@inheritDoc} + */ + public function getCreatedOn() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedOn', []); + + return parent::getCreatedOn(); + } + + /** + * {@inheritDoc} + */ + public function setUpdatedOn($updatedOn) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedOn', [$updatedOn]); + + return parent::setUpdatedOn($updatedOn); + } + + /** + * {@inheritDoc} + */ + public function getUpdatedOn() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedOn', []); + + return parent::getUpdatedOn(); + } + + /** + * {@inheritDoc} + */ + public function isPublisher(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isPublisher', [$user]); + + return parent::isPublisher($user); + } + + /** + * {@inheritDoc} + */ + public function getPublisher(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPublisher', [$user]); + + return parent::getPublisher($user); + } + + /** + * {@inheritDoc} + */ + public function setSubtitle($subtitle) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSubtitle', [$subtitle]); + + return parent::setSubtitle($subtitle); + } + + /** + * {@inheritDoc} + */ + public function getSubtitle() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubtitle', []); + + return parent::getSubtitle(); + } + + /** + * {@inheritDoc} + */ + public function isAggregated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isAggregated', []); + + return parent::isAggregated(); + } + + /** + * {@inheritDoc} + */ + public function getCountTotalEntries() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCountTotalEntries', []); + + return parent::getCountTotalEntries(); + } + + /** + * {@inheritDoc} + */ + public function hasAccess(\Alchemy\Phrasea\Model\Entities\User $user, \Alchemy\Phrasea\Application $app) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasAccess', [$user, $app]); + + return parent::hasAccess($user, $app); + } + + /** + * {@inheritDoc} + */ + public function addToken(\Alchemy\Phrasea\Model\Entities\FeedToken $tokens) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addToken', [$tokens]); + + return parent::addToken($tokens); + } + + /** + * {@inheritDoc} + */ + public function removeToken(\Alchemy\Phrasea\Model\Entities\FeedToken $tokens) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeToken', [$tokens]); + + return parent::removeToken($tokens); + } + + /** + * {@inheritDoc} + */ + public function getTokens() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTokens', []); + + return parent::getTokens(); + } + + /** + * {@inheritDoc} + */ + public function addEntrie(\Alchemy\Phrasea\Model\Entities\FeedEntry $entries) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addEntrie', [$entries]); + + return parent::addEntrie($entries); + } + + /** + * {@inheritDoc} + */ + public function removeEntrie(\Alchemy\Phrasea\Model\Entities\FeedEntry $entries) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeEntrie', [$entries]); + + return parent::removeEntrie($entries); + } + + /** + * {@inheritDoc} + */ + public function hasPage($pageNumber, $nbEntriesByPage) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasPage', [$pageNumber, $nbEntriesByPage]); + + return parent::hasPage($pageNumber, $nbEntriesByPage); + } + + /** + * {@inheritDoc} + */ + public function isAccessible(\Alchemy\Phrasea\Model\Entities\User $user, \Alchemy\Phrasea\Application $app) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isAccessible', [$user, $app]); + + return parent::isAccessible($user, $app); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeedEntry.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeedEntry.php new file mode 100644 index 0000000000..ced6ae2482 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeedEntry.php @@ -0,0 +1,422 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'title', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'subtitle', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'authorName', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'authorEmail', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'createdOn', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'updatedOn', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'items', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'publisher', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'feed']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'title', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'subtitle', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'authorName', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'authorEmail', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'createdOn', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'updatedOn', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'items', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'publisher', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedEntry' . "\0" . 'feed']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (FeedEntry $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setTitle($title) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTitle', [$title]); + + return parent::setTitle($title); + } + + /** + * {@inheritDoc} + */ + public function getTitle() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTitle', []); + + return parent::getTitle(); + } + + /** + * {@inheritDoc} + */ + public function setSubtitle($subtitle) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSubtitle', [$subtitle]); + + return parent::setSubtitle($subtitle); + } + + /** + * {@inheritDoc} + */ + public function getSubtitle() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubtitle', []); + + return parent::getSubtitle(); + } + + /** + * {@inheritDoc} + */ + public function setAuthorName($authorName) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAuthorName', [$authorName]); + + return parent::setAuthorName($authorName); + } + + /** + * {@inheritDoc} + */ + public function getAuthorName() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAuthorName', []); + + return parent::getAuthorName(); + } + + /** + * {@inheritDoc} + */ + public function setAuthorEmail($authorEmail) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAuthorEmail', [$authorEmail]); + + return parent::setAuthorEmail($authorEmail); + } + + /** + * {@inheritDoc} + */ + public function getAuthorEmail() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAuthorEmail', []); + + return parent::getAuthorEmail(); + } + + /** + * {@inheritDoc} + */ + public function setCreatedOn($createdOn) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedOn', [$createdOn]); + + return parent::setCreatedOn($createdOn); + } + + /** + * {@inheritDoc} + */ + public function getCreatedOn() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedOn', []); + + return parent::getCreatedOn(); + } + + /** + * {@inheritDoc} + */ + public function setUpdatedOn($updatedOn) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedOn', [$updatedOn]); + + return parent::setUpdatedOn($updatedOn); + } + + /** + * {@inheritDoc} + */ + public function getUpdatedOn() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedOn', []); + + return parent::getUpdatedOn(); + } + + /** + * {@inheritDoc} + */ + public function addItem(\Alchemy\Phrasea\Model\Entities\FeedItem $items) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addItem', [$items]); + + return parent::addItem($items); + } + + /** + * {@inheritDoc} + */ + public function removeItem(\Alchemy\Phrasea\Model\Entities\FeedItem $items) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeItem', [$items]); + + return parent::removeItem($items); + } + + /** + * {@inheritDoc} + */ + public function getItems() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getItems', []); + + return parent::getItems(); + } + + /** + * {@inheritDoc} + */ + public function setPublisher(\Alchemy\Phrasea\Model\Entities\FeedPublisher $publisher = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPublisher', [$publisher]); + + return parent::setPublisher($publisher); + } + + /** + * {@inheritDoc} + */ + public function getPublisher() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPublisher', []); + + return parent::getPublisher(); + } + + /** + * {@inheritDoc} + */ + public function setFeed(\Alchemy\Phrasea\Model\Entities\Feed $feed = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFeed', [$feed]); + + return parent::setFeed($feed); + } + + /** + * {@inheritDoc} + */ + public function getFeed() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFeed', []); + + return parent::getFeed(); + } + + /** + * {@inheritDoc} + */ + public function isPublisher(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isPublisher', [$user]); + + return parent::isPublisher($user); + } + + /** + * {@inheritDoc} + */ + public function getItem($id) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getItem', [$id]); + + return parent::getItem($id); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeedItem.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeedItem.php new file mode 100644 index 0000000000..f45349c56f --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeedItem.php @@ -0,0 +1,345 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedItem' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedItem' . "\0" . 'recordId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedItem' . "\0" . 'sbasId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedItem' . "\0" . 'ord', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedItem' . "\0" . 'createdOn', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedItem' . "\0" . 'updatedOn', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedItem' . "\0" . 'entry']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedItem' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedItem' . "\0" . 'recordId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedItem' . "\0" . 'sbasId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedItem' . "\0" . 'ord', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedItem' . "\0" . 'createdOn', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedItem' . "\0" . 'updatedOn', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedItem' . "\0" . 'entry']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (FeedItem $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setRecordId($recordId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRecordId', [$recordId]); + + return parent::setRecordId($recordId); + } + + /** + * {@inheritDoc} + */ + public function getRecordId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRecordId', []); + + return parent::getRecordId(); + } + + /** + * {@inheritDoc} + */ + public function setSbasId($sbasId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSbasId', [$sbasId]); + + return parent::setSbasId($sbasId); + } + + /** + * {@inheritDoc} + */ + public function getSbasId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSbasId', []); + + return parent::getSbasId(); + } + + /** + * {@inheritDoc} + */ + public function setEntry(\Alchemy\Phrasea\Model\Entities\FeedEntry $entry = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEntry', [$entry]); + + return parent::setEntry($entry); + } + + /** + * {@inheritDoc} + */ + public function getEntry() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEntry', []); + + return parent::getEntry(); + } + + /** + * {@inheritDoc} + */ + public function setOrd($ord) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setOrd', [$ord]); + + return parent::setOrd($ord); + } + + /** + * {@inheritDoc} + */ + public function getOrd() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getOrd', []); + + return parent::getOrd(); + } + + /** + * {@inheritDoc} + */ + public function setCreatedOn($createdOn) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedOn', [$createdOn]); + + return parent::setCreatedOn($createdOn); + } + + /** + * {@inheritDoc} + */ + public function getCreatedOn() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedOn', []); + + return parent::getCreatedOn(); + } + + /** + * {@inheritDoc} + */ + public function setUpdatedOn($updatedOn) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedOn', [$updatedOn]); + + return parent::setUpdatedOn($updatedOn); + } + + /** + * {@inheritDoc} + */ + public function getUpdatedOn() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedOn', []); + + return parent::getUpdatedOn(); + } + + /** + * {@inheritDoc} + */ + public function setLastInFeedItem() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastInFeedItem', []); + + return parent::setLastInFeedItem(); + } + + /** + * {@inheritDoc} + */ + public function getRecord(\Alchemy\Phrasea\Application $app) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRecord', [$app]); + + return parent::getRecord($app); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeedPublisher.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeedPublisher.php new file mode 100644 index 0000000000..5e02d7c0a5 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeedPublisher.php @@ -0,0 +1,279 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedPublisher' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedPublisher' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedPublisher' . "\0" . 'owner', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedPublisher' . "\0" . 'createdOn', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedPublisher' . "\0" . 'feed']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedPublisher' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedPublisher' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedPublisher' . "\0" . 'owner', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedPublisher' . "\0" . 'createdOn', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedPublisher' . "\0" . 'feed']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (FeedPublisher $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function setIsOwner($owner) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsOwner', [$owner]); + + return parent::setIsOwner($owner); + } + + /** + * {@inheritDoc} + */ + public function isOwner() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isOwner', []); + + return parent::isOwner(); + } + + /** + * {@inheritDoc} + */ + public function setFeed(\Alchemy\Phrasea\Model\Entities\Feed $feed = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFeed', [$feed]); + + return parent::setFeed($feed); + } + + /** + * {@inheritDoc} + */ + public function getFeed() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFeed', []); + + return parent::getFeed(); + } + + /** + * {@inheritDoc} + */ + public function setCreatedOn($createdOn) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedOn', [$createdOn]); + + return parent::setCreatedOn($createdOn); + } + + /** + * {@inheritDoc} + */ + public function getCreatedOn() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedOn', []); + + return parent::getCreatedOn(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeedToken.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeedToken.php new file mode 100644 index 0000000000..e7bfbd3ce9 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFeedToken.php @@ -0,0 +1,257 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedToken' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedToken' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedToken' . "\0" . 'value', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedToken' . "\0" . 'feed']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedToken' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedToken' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedToken' . "\0" . 'value', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FeedToken' . "\0" . 'feed']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (FeedToken $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function setFeed(\Alchemy\Phrasea\Model\Entities\Feed $feed = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFeed', [$feed]); + + return parent::setFeed($feed); + } + + /** + * {@inheritDoc} + */ + public function getFeed() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFeed', []); + + return parent::getFeed(); + } + + /** + * {@inheritDoc} + */ + public function setValue($value) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setValue', [$value]); + + return parent::setValue($value); + } + + /** + * {@inheritDoc} + */ + public function getValue() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getValue', []); + + return parent::getValue(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFtpCredential.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFtpCredential.php new file mode 100644 index 0000000000..735cd9bcaa --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFtpCredential.php @@ -0,0 +1,433 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'active', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'address', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'login', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'password', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'receptionFolder', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'repositoryPrefixName', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'passive', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'ssl', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'maxRetry', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'updated']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'active', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'address', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'login', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'password', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'receptionFolder', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'repositoryPrefixName', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'passive', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'ssl', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'maxRetry', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpCredential' . "\0" . 'updated']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (FtpCredential $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function isActive() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isActive', []); + + return parent::isActive(); + } + + /** + * {@inheritDoc} + */ + public function setActive($active) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setActive', [$active]); + + return parent::setActive($active); + } + + /** + * {@inheritDoc} + */ + public function getAddress() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAddress', []); + + return parent::getAddress(); + } + + /** + * {@inheritDoc} + */ + public function setAddress($address) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAddress', [$address]); + + return parent::setAddress($address); + } + + /** + * {@inheritDoc} + */ + public function getLogin() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLogin', []); + + return parent::getLogin(); + } + + /** + * {@inheritDoc} + */ + public function setLogin($login) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLogin', [$login]); + + return parent::setLogin($login); + } + + /** + * {@inheritDoc} + */ + public function getPassword() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPassword', []); + + return parent::getPassword(); + } + + /** + * {@inheritDoc} + */ + public function setPassword($password) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPassword', [$password]); + + return parent::setPassword($password); + } + + /** + * {@inheritDoc} + */ + public function getReceptionFolder() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getReceptionFolder', []); + + return parent::getReceptionFolder(); + } + + /** + * {@inheritDoc} + */ + public function setReceptionFolder($receptionFolder) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setReceptionFolder', [$receptionFolder]); + + return parent::setReceptionFolder($receptionFolder); + } + + /** + * {@inheritDoc} + */ + public function getRepositoryPrefixName() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRepositoryPrefixName', []); + + return parent::getRepositoryPrefixName(); + } + + /** + * {@inheritDoc} + */ + public function setRepositoryPrefixName($repositoryPrefixName) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRepositoryPrefixName', [$repositoryPrefixName]); + + return parent::setRepositoryPrefixName($repositoryPrefixName); + } + + /** + * {@inheritDoc} + */ + public function isPassive() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isPassive', []); + + return parent::isPassive(); + } + + /** + * {@inheritDoc} + */ + public function setPassive($passive) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPassive', [$passive]); + + return parent::setPassive($passive); + } + + /** + * {@inheritDoc} + */ + public function isSsl() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isSsl', []); + + return parent::isSsl(); + } + + /** + * {@inheritDoc} + */ + public function setSsl($ssl) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSsl', [$ssl]); + + return parent::setSsl($ssl); + } + + /** + * {@inheritDoc} + */ + public function getMaxRetry() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMaxRetry', []); + + return parent::getMaxRetry(); + } + + /** + * {@inheritDoc} + */ + public function setMaxRetry($maxRetry) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setMaxRetry', [$maxRetry]); + + return parent::setMaxRetry($maxRetry); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFtpExport.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFtpExport.php new file mode 100644 index 0000000000..22bf515985 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFtpExport.php @@ -0,0 +1,609 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'crash', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'nbretry', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'mail', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'addr', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'ssl', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'login', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'pwd', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'passif', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'destfolder', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'sendermail', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'textMailSender', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'textMailReceiver', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'foldertocreate', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'logfile', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'elements', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'updated']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'crash', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'nbretry', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'mail', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'addr', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'ssl', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'login', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'pwd', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'passif', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'destfolder', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'sendermail', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'textMailSender', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'textMailReceiver', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'foldertocreate', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'logfile', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'elements', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExport' . "\0" . 'updated']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (FtpExport $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function setCrash($crash) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCrash', [$crash]); + + return parent::setCrash($crash); + } + + /** + * {@inheritDoc} + */ + public function getCrash() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCrash', []); + + return parent::getCrash(); + } + + /** + * {@inheritDoc} + */ + public function incrementCrash() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'incrementCrash', []); + + return parent::incrementCrash(); + } + + /** + * {@inheritDoc} + */ + public function setNbretry($nbretry) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNbretry', [$nbretry]); + + return parent::setNbretry($nbretry); + } + + /** + * {@inheritDoc} + */ + public function getNbretry() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNbretry', []); + + return parent::getNbretry(); + } + + /** + * {@inheritDoc} + */ + public function setMail($mail) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setMail', [$mail]); + + return parent::setMail($mail); + } + + /** + * {@inheritDoc} + */ + public function getMail() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMail', []); + + return parent::getMail(); + } + + /** + * {@inheritDoc} + */ + public function setAddr($addr) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAddr', [$addr]); + + return parent::setAddr($addr); + } + + /** + * {@inheritDoc} + */ + public function getAddr() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAddr', []); + + return parent::getAddr(); + } + + /** + * {@inheritDoc} + */ + public function setSsl($ssl) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSsl', [$ssl]); + + return parent::setSsl($ssl); + } + + /** + * {@inheritDoc} + */ + public function isSsl() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isSsl', []); + + return parent::isSsl(); + } + + /** + * {@inheritDoc} + */ + public function setLogin($login) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLogin', [$login]); + + return parent::setLogin($login); + } + + /** + * {@inheritDoc} + */ + public function getLogin() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLogin', []); + + return parent::getLogin(); + } + + /** + * {@inheritDoc} + */ + public function setPwd($pwd) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPwd', [$pwd]); + + return parent::setPwd($pwd); + } + + /** + * {@inheritDoc} + */ + public function getPwd() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPwd', []); + + return parent::getPwd(); + } + + /** + * {@inheritDoc} + */ + public function setPassif($passif) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPassif', [$passif]); + + return parent::setPassif($passif); + } + + /** + * {@inheritDoc} + */ + public function isPassif() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isPassif', []); + + return parent::isPassif(); + } + + /** + * {@inheritDoc} + */ + public function setDestfolder($destfolder) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDestfolder', [$destfolder]); + + return parent::setDestfolder($destfolder); + } + + /** + * {@inheritDoc} + */ + public function getDestfolder() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDestfolder', []); + + return parent::getDestfolder(); + } + + /** + * {@inheritDoc} + */ + public function setSendermail($sendermail) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSendermail', [$sendermail]); + + return parent::setSendermail($sendermail); + } + + /** + * {@inheritDoc} + */ + public function getSendermail() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSendermail', []); + + return parent::getSendermail(); + } + + /** + * {@inheritDoc} + */ + public function setTextMailSender($textMailSender) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTextMailSender', [$textMailSender]); + + return parent::setTextMailSender($textMailSender); + } + + /** + * {@inheritDoc} + */ + public function getTextMailSender() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTextMailSender', []); + + return parent::getTextMailSender(); + } + + /** + * {@inheritDoc} + */ + public function setTextMailReceiver($textMailReceiver) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTextMailReceiver', [$textMailReceiver]); + + return parent::setTextMailReceiver($textMailReceiver); + } + + /** + * {@inheritDoc} + */ + public function getTextMailReceiver() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTextMailReceiver', []); + + return parent::getTextMailReceiver(); + } + + /** + * {@inheritDoc} + */ + public function setFoldertocreate($foldertocreate) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFoldertocreate', [$foldertocreate]); + + return parent::setFoldertocreate($foldertocreate); + } + + /** + * {@inheritDoc} + */ + public function getFoldertocreate() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFoldertocreate', []); + + return parent::getFoldertocreate(); + } + + /** + * {@inheritDoc} + */ + public function setLogfile($logfile) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLogfile', [$logfile]); + + return parent::setLogfile($logfile); + } + + /** + * {@inheritDoc} + */ + public function isLogfile() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isLogfile', []); + + return parent::isLogfile(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function addElement(\Alchemy\Phrasea\Model\Entities\FtpExportElement $elements) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addElement', [$elements]); + + return parent::addElement($elements); + } + + /** + * {@inheritDoc} + */ + public function removeElement(\Alchemy\Phrasea\Model\Entities\FtpExportElement $elements) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeElement', [$elements]); + + return parent::removeElement($elements); + } + + /** + * {@inheritDoc} + */ + public function getElements() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getElements', []); + + return parent::getElements(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFtpExportElement.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFtpExportElement.php new file mode 100644 index 0000000000..ff215082cb --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesFtpExportElement.php @@ -0,0 +1,433 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'recordId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'baseId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'subdef', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'filename', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'folder', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'error', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'done', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'export', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'businessfields', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'updated']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'recordId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'baseId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'subdef', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'filename', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'folder', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'error', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'done', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'export', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'businessfields', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\FtpExportElement' . "\0" . 'updated']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (FtpExportElement $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setRecordId($recordId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRecordId', [$recordId]); + + return parent::setRecordId($recordId); + } + + /** + * {@inheritDoc} + */ + public function getRecordId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRecordId', []); + + return parent::getRecordId(); + } + + /** + * {@inheritDoc} + */ + public function setBaseId($baseId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBaseId', [$baseId]); + + return parent::setBaseId($baseId); + } + + /** + * {@inheritDoc} + */ + public function getBaseId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getBaseId', []); + + return parent::getBaseId(); + } + + /** + * {@inheritDoc} + */ + public function setSubdef($subdef) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSubdef', [$subdef]); + + return parent::setSubdef($subdef); + } + + /** + * {@inheritDoc} + */ + public function getSubdef() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubdef', []); + + return parent::getSubdef(); + } + + /** + * {@inheritDoc} + */ + public function setFilename($filename) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFilename', [$filename]); + + return parent::setFilename($filename); + } + + /** + * {@inheritDoc} + */ + public function getFilename() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFilename', []); + + return parent::getFilename(); + } + + /** + * {@inheritDoc} + */ + public function setFolder($folder) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFolder', [$folder]); + + return parent::setFolder($folder); + } + + /** + * {@inheritDoc} + */ + public function getFolder() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFolder', []); + + return parent::getFolder(); + } + + /** + * {@inheritDoc} + */ + public function setError($error) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setError', [$error]); + + return parent::setError($error); + } + + /** + * {@inheritDoc} + */ + public function isError() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isError', []); + + return parent::isError(); + } + + /** + * {@inheritDoc} + */ + public function setDone($done) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDone', [$done]); + + return parent::setDone($done); + } + + /** + * {@inheritDoc} + */ + public function isDone() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isDone', []); + + return parent::isDone(); + } + + /** + * {@inheritDoc} + */ + public function setBusinessfields($businessfields) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBusinessfields', [$businessfields]); + + return parent::setBusinessfields($businessfields); + } + + /** + * {@inheritDoc} + */ + public function isBusinessfields() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isBusinessfields', []); + + return parent::isBusinessfields(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function setExport(\Alchemy\Phrasea\Model\Entities\FtpExport $export = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setExport', [$export]); + + return parent::setExport($export); + } + + /** + * {@inheritDoc} + */ + public function getExport() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getExport', []); + + return parent::getExport(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesLazaretAttribute.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesLazaretAttribute.php new file mode 100644 index 0000000000..4f5f4b6c05 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesLazaretAttribute.php @@ -0,0 +1,301 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretAttribute' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretAttribute' . "\0" . 'name', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretAttribute' . "\0" . 'value', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretAttribute' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretAttribute' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretAttribute' . "\0" . 'lazaretFile']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretAttribute' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretAttribute' . "\0" . 'name', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretAttribute' . "\0" . 'value', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretAttribute' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretAttribute' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretAttribute' . "\0" . 'lazaretFile']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (LazaretAttribute $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setName($name) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]); + + return parent::setName($name); + } + + /** + * {@inheritDoc} + */ + public function getName() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []); + + return parent::getName(); + } + + /** + * {@inheritDoc} + */ + public function setValue($value) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setValue', [$value]); + + return parent::setValue($value); + } + + /** + * {@inheritDoc} + */ + public function getValue() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getValue', []); + + return parent::getValue(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function setLazaretFile(\Alchemy\Phrasea\Model\Entities\LazaretFile $lazaretFile = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLazaretFile', [$lazaretFile]); + + return parent::setLazaretFile($lazaretFile); + } + + /** + * {@inheritDoc} + */ + public function getLazaretFile() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLazaretFile', []); + + return parent::getLazaretFile(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesLazaretCheck.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesLazaretCheck.php new file mode 100644 index 0000000000..9f502cc744 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesLazaretCheck.php @@ -0,0 +1,257 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretCheck' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretCheck' . "\0" . 'checkClassname', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretCheck' . "\0" . 'lazaretFile']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretCheck' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretCheck' . "\0" . 'checkClassname', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretCheck' . "\0" . 'lazaretFile']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (LazaretCheck $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setCheckClassname($checkClassname) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCheckClassname', [$checkClassname]); + + return parent::setCheckClassname($checkClassname); + } + + /** + * {@inheritDoc} + */ + public function getCheckClassname() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCheckClassname', []); + + return parent::getCheckClassname(); + } + + /** + * {@inheritDoc} + */ + public function setLazaretFile(\Alchemy\Phrasea\Model\Entities\LazaretFile $lazaretFile = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLazaretFile', [$lazaretFile]); + + return parent::setLazaretFile($lazaretFile); + } + + /** + * {@inheritDoc} + */ + public function getLazaretFile() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLazaretFile', []); + + return parent::getLazaretFile(); + } + + /** + * {@inheritDoc} + */ + public function getReason(\Symfony\Component\Translation\TranslatorInterface $translator) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getReason', [$translator]); + + return parent::getReason($translator); + } + + /** + * {@inheritDoc} + */ + public function listConflicts(\Alchemy\Phrasea\Application $app) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'listConflicts', [$app]); + + return parent::listConflicts($app); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesLazaretFile.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesLazaretFile.php new file mode 100644 index 0000000000..dab6e47808 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesLazaretFile.php @@ -0,0 +1,521 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'filename', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'thumbFilename', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'originalName', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'base_id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'uuid', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'sha256', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'forced', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'attributes', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'checks', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'session']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'filename', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'thumbFilename', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'originalName', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'base_id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'uuid', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'sha256', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'forced', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'attributes', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'checks', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretFile' . "\0" . 'session']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (LazaretFile $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setFilename($filename) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFilename', [$filename]); + + return parent::setFilename($filename); + } + + /** + * {@inheritDoc} + */ + public function getFilename() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFilename', []); + + return parent::getFilename(); + } + + /** + * {@inheritDoc} + */ + public function setThumbFilename($thumbFilename) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setThumbFilename', [$thumbFilename]); + + return parent::setThumbFilename($thumbFilename); + } + + /** + * {@inheritDoc} + */ + public function getThumbFilename() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getThumbFilename', []); + + return parent::getThumbFilename(); + } + + /** + * {@inheritDoc} + */ + public function setOriginalName($originalName) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setOriginalName', [$originalName]); + + return parent::setOriginalName($originalName); + } + + /** + * {@inheritDoc} + */ + public function getOriginalName() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getOriginalName', []); + + return parent::getOriginalName(); + } + + /** + * {@inheritDoc} + */ + public function setBaseId($baseId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBaseId', [$baseId]); + + return parent::setBaseId($baseId); + } + + /** + * {@inheritDoc} + */ + public function getBaseId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getBaseId', []); + + return parent::getBaseId(); + } + + /** + * {@inheritDoc} + */ + public function getCollection(\Alchemy\Phrasea\Application $app) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCollection', [$app]); + + return parent::getCollection($app); + } + + /** + * {@inheritDoc} + */ + public function setUuid($uuid) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUuid', [$uuid]); + + return parent::setUuid($uuid); + } + + /** + * {@inheritDoc} + */ + public function getUuid() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUuid', []); + + return parent::getUuid(); + } + + /** + * {@inheritDoc} + */ + public function setSha256($sha256) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSha256', [$sha256]); + + return parent::setSha256($sha256); + } + + /** + * {@inheritDoc} + */ + public function getSha256() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSha256', []); + + return parent::getSha256(); + } + + /** + * {@inheritDoc} + */ + public function setForced($forced) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setForced', [$forced]); + + return parent::setForced($forced); + } + + /** + * {@inheritDoc} + */ + public function getForced() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getForced', []); + + return parent::getForced(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function addAttribute(\Alchemy\Phrasea\Model\Entities\LazaretAttribute $attributes) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addAttribute', [$attributes]); + + return parent::addAttribute($attributes); + } + + /** + * {@inheritDoc} + */ + public function removeAttribute(\Alchemy\Phrasea\Model\Entities\LazaretAttribute $attributes) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeAttribute', [$attributes]); + + return parent::removeAttribute($attributes); + } + + /** + * {@inheritDoc} + */ + public function getAttributes() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAttributes', []); + + return parent::getAttributes(); + } + + /** + * {@inheritDoc} + */ + public function addCheck(\Alchemy\Phrasea\Model\Entities\LazaretCheck $checks) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addCheck', [$checks]); + + return parent::addCheck($checks); + } + + /** + * {@inheritDoc} + */ + public function removeCheck(\Alchemy\Phrasea\Model\Entities\LazaretCheck $checks) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeCheck', [$checks]); + + return parent::removeCheck($checks); + } + + /** + * {@inheritDoc} + */ + public function getCheckerName(\Alchemy\Phrasea\Model\Entities\LazaretCheck $checks) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCheckerName', [$checks]); + + return parent::getCheckerName($checks); + } + + /** + * {@inheritDoc} + */ + public function getChecks() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getChecks', []); + + return parent::getChecks(); + } + + /** + * {@inheritDoc} + */ + public function getChecksWhithNameKey() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getChecksWhithNameKey', []); + + return parent::getChecksWhithNameKey(); + } + + /** + * {@inheritDoc} + */ + public function setSession(\Alchemy\Phrasea\Model\Entities\LazaretSession $session = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSession', [$session]); + + return parent::setSession($session); + } + + /** + * {@inheritDoc} + */ + public function getSession() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSession', []); + + return parent::getSession(); + } + + /** + * {@inheritDoc} + */ + public function getRecordsToSubstitute(\Alchemy\Phrasea\Application $app, $includeReason = false) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRecordsToSubstitute', [$app, $includeReason]); + + return parent::getRecordsToSubstitute($app, $includeReason); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesLazaretSession.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesLazaretSession.php new file mode 100644 index 0000000000..1f678d61aa --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesLazaretSession.php @@ -0,0 +1,290 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretSession' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretSession' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretSession' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretSession' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretSession' . "\0" . 'files']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretSession' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretSession' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretSession' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretSession' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\LazaretSession' . "\0" . 'files']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (LazaretSession $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function addFile(\Alchemy\Phrasea\Model\Entities\LazaretFile $files) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addFile', [$files]); + + return parent::addFile($files); + } + + /** + * {@inheritDoc} + */ + public function removeFile(\Alchemy\Phrasea\Model\Entities\LazaretFile $files) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeFile', [$files]); + + return parent::removeFile($files); + } + + /** + * {@inheritDoc} + */ + public function getFiles() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFiles', []); + + return parent::getFiles(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesOrder.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesOrder.php new file mode 100644 index 0000000000..fb1bc56456 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesOrder.php @@ -0,0 +1,411 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Order' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Order' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Order' . "\0" . 'orderUsage', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Order' . "\0" . 'todo', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Order' . "\0" . 'deadline', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Order' . "\0" . 'createdOn', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Order' . "\0" . 'elements', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Order' . "\0" . 'basket', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Order' . "\0" . 'notificationMethod']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Order' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Order' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Order' . "\0" . 'orderUsage', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Order' . "\0" . 'todo', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Order' . "\0" . 'deadline', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Order' . "\0" . 'createdOn', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Order' . "\0" . 'elements', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Order' . "\0" . 'basket', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Order' . "\0" . 'notificationMethod']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (Order $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getDeadline() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeadline', []); + + return parent::getDeadline(); + } + + /** + * {@inheritDoc} + */ + public function setDeadline($deadline) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeadline', [$deadline]); + + return parent::setDeadline($deadline); + } + + /** + * {@inheritDoc} + */ + public function getCreatedOn() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedOn', []); + + return parent::getCreatedOn(); + } + + /** + * {@inheritDoc} + */ + public function setCreatedOn($createdOn) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedOn', [$createdOn]); + + return parent::setCreatedOn($createdOn); + } + + /** + * {@inheritDoc} + */ + public function addElement(\Alchemy\Phrasea\Model\Entities\OrderElement $elements) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addElement', [$elements]); + + return parent::addElement($elements); + } + + /** + * {@inheritDoc} + */ + public function removeElement(\Alchemy\Phrasea\Model\Entities\OrderElement $elements) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeElement', [$elements]); + + return parent::removeElement($elements); + } + + /** + * {@inheritDoc} + */ + public function getElements() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getElements', []); + + return parent::getElements(); + } + + /** + * {@inheritDoc} + */ + public function getTodo() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTodo', []); + + return parent::getTodo(); + } + + /** + * {@inheritDoc} + */ + public function setTodo($todo) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTodo', [$todo]); + + return parent::setTodo($todo); + } + + /** + * {@inheritDoc} + */ + public function decrementTodo($count) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'decrementTodo', [$count]); + + return parent::decrementTodo($count); + } + + /** + * {@inheritDoc} + */ + public function getTotal() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTotal', []); + + return parent::getTotal(); + } + + /** + * {@inheritDoc} + */ + public function getTotalTreatedItems() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTotalTreatedItems', []); + + return parent::getTotalTreatedItems(); + } + + /** + * {@inheritDoc} + */ + public function getOrderUsage() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getOrderUsage', []); + + return parent::getOrderUsage(); + } + + /** + * {@inheritDoc} + */ + public function setOrderUsage($orderUsage) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setOrderUsage', [$orderUsage]); + + return parent::setOrderUsage($orderUsage); + } + + /** + * {@inheritDoc} + */ + public function getBasket() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getBasket', []); + + return parent::getBasket(); + } + + /** + * {@inheritDoc} + */ + public function setBasket(\Alchemy\Phrasea\Model\Entities\Basket $basket = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBasket', [$basket]); + + return parent::setBasket($basket); + } + + /** + * {@inheritDoc} + */ + public function getNotificationMethod() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNotificationMethod', []); + + return parent::getNotificationMethod(); + } + + /** + * {@inheritDoc} + */ + public function setNotificationMethod($methodName) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNotificationMethod', [$methodName]); + + return parent::setNotificationMethod($methodName); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesOrderElement.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesOrderElement.php new file mode 100644 index 0000000000..7f6addfb66 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesOrderElement.php @@ -0,0 +1,323 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\OrderElement' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\OrderElement' . "\0" . 'baseId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\OrderElement' . "\0" . 'recordId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\OrderElement' . "\0" . 'orderMaster', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\OrderElement' . "\0" . 'deny', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\OrderElement' . "\0" . 'order']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\OrderElement' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\OrderElement' . "\0" . 'baseId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\OrderElement' . "\0" . 'recordId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\OrderElement' . "\0" . 'orderMaster', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\OrderElement' . "\0" . 'deny', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\OrderElement' . "\0" . 'order']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (OrderElement $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setOrderMaster(\Alchemy\Phrasea\Model\Entities\User $user = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setOrderMaster', [$user]); + + return parent::setOrderMaster($user); + } + + /** + * {@inheritDoc} + */ + public function getOrderMaster() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getOrderMaster', []); + + return parent::getOrderMaster(); + } + + /** + * {@inheritDoc} + */ + public function setDeny($deny) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeny', [$deny]); + + return parent::setDeny($deny); + } + + /** + * {@inheritDoc} + */ + public function getDeny() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeny', []); + + return parent::getDeny(); + } + + /** + * {@inheritDoc} + */ + public function setOrder(\Alchemy\Phrasea\Model\Entities\Order $order = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setOrder', [$order]); + + return parent::setOrder($order); + } + + /** + * {@inheritDoc} + */ + public function getOrder() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getOrder', []); + + return parent::getOrder(); + } + + /** + * {@inheritDoc} + */ + public function setBaseId($baseId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBaseId', [$baseId]); + + return parent::setBaseId($baseId); + } + + /** + * {@inheritDoc} + */ + public function getBaseId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getBaseId', []); + + return parent::getBaseId(); + } + + /** + * {@inheritDoc} + */ + public function setRecordId($recordId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRecordId', [$recordId]); + + return parent::setRecordId($recordId); + } + + /** + * {@inheritDoc} + */ + public function getRecordId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRecordId', []); + + return parent::getRecordId(); + } + + /** + * {@inheritDoc} + */ + public function getRecord(\Alchemy\Phrasea\Application $app) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRecord', [$app]); + + return parent::getRecord($app); + } + + /** + * {@inheritDoc} + */ + public function getSbasId(\Alchemy\Phrasea\Application $app) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSbasId', [$app]); + + return parent::getSbasId($app); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesPreset.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesPreset.php new file mode 100644 index 0000000000..09ce97b8d1 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesPreset.php @@ -0,0 +1,301 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Preset' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Preset' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Preset' . "\0" . 'sbasId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Preset' . "\0" . 'title', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Preset' . "\0" . 'data', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Preset' . "\0" . 'created']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Preset' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Preset' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Preset' . "\0" . 'sbasId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Preset' . "\0" . 'title', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Preset' . "\0" . 'data', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Preset' . "\0" . 'created']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (Preset $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getSbasId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSbasId', []); + + return parent::getSbasId(); + } + + /** + * {@inheritDoc} + */ + public function setSbasId($sbasId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSbasId', [$sbasId]); + + return parent::setSbasId($sbasId); + } + + /** + * {@inheritDoc} + */ + public function getTitle() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTitle', []); + + return parent::getTitle(); + } + + /** + * {@inheritDoc} + */ + public function setTitle($title) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTitle', [$title]); + + return parent::setTitle($title); + } + + /** + * {@inheritDoc} + */ + public function setData(array $data) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setData', [$data]); + + return parent::setData($data); + } + + /** + * {@inheritDoc} + */ + public function getData() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getData', []); + + return parent::getData(); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesRegistration.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesRegistration.php new file mode 100644 index 0000000000..1fcab3649c --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesRegistration.php @@ -0,0 +1,345 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Registration' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Registration' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Registration' . "\0" . 'baseId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Registration' . "\0" . 'pending', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Registration' . "\0" . 'rejected', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Registration' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Registration' . "\0" . 'updated']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Registration' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Registration' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Registration' . "\0" . 'baseId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Registration' . "\0" . 'pending', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Registration' . "\0" . 'rejected', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Registration' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Registration' . "\0" . 'updated']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (Registration $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setPending($pending) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPending', [$pending]); + + return parent::setPending($pending); + } + + /** + * {@inheritDoc} + */ + public function isPending() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isPending', []); + + return parent::isPending(); + } + + /** + * {@inheritDoc} + */ + public function setRejected($rejected) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRejected', [$rejected]); + + return parent::setRejected($rejected); + } + + /** + * {@inheritDoc} + */ + public function isRejected() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isRejected', []); + + return parent::isRejected(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function getCollection(\Alchemy\Phrasea\Application $app) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCollection', [$app]); + + return parent::getCollection($app); + } + + /** + * {@inheritDoc} + */ + public function setCollection(\collection $collection) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCollection', [$collection]); + + return parent::setCollection($collection); + } + + /** + * {@inheritDoc} + */ + public function setBaseId($baseId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBaseId', [$baseId]); + + return parent::setBaseId($baseId); + } + + /** + * {@inheritDoc} + */ + public function getBaseId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getBaseId', []); + + return parent::getBaseId(); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesSecret.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesSecret.php new file mode 100644 index 0000000000..f19489a2a2 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesSecret.php @@ -0,0 +1,224 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Secret' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Secret' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Secret' . "\0" . 'token', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Secret' . "\0" . 'creator']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Secret' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Secret' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Secret' . "\0" . 'token', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Secret' . "\0" . 'creator']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (Secret $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function getCreator() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreator', []); + + return parent::getCreator(); + } + + /** + * {@inheritDoc} + */ + public function getToken() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getToken', []); + + return parent::getToken(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesSession.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesSession.php new file mode 100644 index 0000000000..f2fb2a0d34 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesSession.php @@ -0,0 +1,510 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'user_agent', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'ip_address', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'platform', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'browser_name', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'browser_version', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'screen_width', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'screen_height', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'token', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'nonce', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'modules']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'user_agent', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'ip_address', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'platform', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'browser_name', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'browser_version', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'screen_width', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'screen_height', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'token', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'nonce', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Session' . "\0" . 'modules']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (Session $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function setUserAgent($userAgent) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUserAgent', [$userAgent]); + + return parent::setUserAgent($userAgent); + } + + /** + * {@inheritDoc} + */ + public function getUserAgent() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserAgent', []); + + return parent::getUserAgent(); + } + + /** + * {@inheritDoc} + */ + public function setIpAddress($ipAddress) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIpAddress', [$ipAddress]); + + return parent::setIpAddress($ipAddress); + } + + /** + * {@inheritDoc} + */ + public function getIpAddress() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIpAddress', []); + + return parent::getIpAddress(); + } + + /** + * {@inheritDoc} + */ + public function setPlatform($platform) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPlatform', [$platform]); + + return parent::setPlatform($platform); + } + + /** + * {@inheritDoc} + */ + public function getPlatform() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPlatform', []); + + return parent::getPlatform(); + } + + /** + * {@inheritDoc} + */ + public function setBrowserName($browserName) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBrowserName', [$browserName]); + + return parent::setBrowserName($browserName); + } + + /** + * {@inheritDoc} + */ + public function getBrowserName() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getBrowserName', []); + + return parent::getBrowserName(); + } + + /** + * {@inheritDoc} + */ + public function setBrowserVersion($browserVersion) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBrowserVersion', [$browserVersion]); + + return parent::setBrowserVersion($browserVersion); + } + + /** + * {@inheritDoc} + */ + public function getBrowserVersion() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getBrowserVersion', []); + + return parent::getBrowserVersion(); + } + + /** + * {@inheritDoc} + */ + public function setScreenWidth($screenWidth) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setScreenWidth', [$screenWidth]); + + return parent::setScreenWidth($screenWidth); + } + + /** + * {@inheritDoc} + */ + public function getScreenWidth() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getScreenWidth', []); + + return parent::getScreenWidth(); + } + + /** + * {@inheritDoc} + */ + public function setScreenHeight($screenHeight) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setScreenHeight', [$screenHeight]); + + return parent::setScreenHeight($screenHeight); + } + + /** + * {@inheritDoc} + */ + public function getScreenHeight() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getScreenHeight', []); + + return parent::getScreenHeight(); + } + + /** + * {@inheritDoc} + */ + public function setToken($token) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setToken', [$token]); + + return parent::setToken($token); + } + + /** + * {@inheritDoc} + */ + public function getToken() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getToken', []); + + return parent::getToken(); + } + + /** + * {@inheritDoc} + */ + public function setNonce($nonce) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNonce', [$nonce]); + + return parent::setNonce($nonce); + } + + /** + * {@inheritDoc} + */ + public function getNonce() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNonce', []); + + return parent::getNonce(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function addModule(\Alchemy\Phrasea\Model\Entities\SessionModule $modules) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addModule', [$modules]); + + return parent::addModule($modules); + } + + /** + * {@inheritDoc} + */ + public function removeModule(\Alchemy\Phrasea\Model\Entities\SessionModule $modules) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeModule', [$modules]); + + return parent::removeModule($modules); + } + + /** + * {@inheritDoc} + */ + public function getModules() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getModules', []); + + return parent::getModules(); + } + + /** + * {@inheritDoc} + */ + public function getModuleById($moduleId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getModuleById', [$moduleId]); + + return parent::getModuleById($moduleId); + } + + /** + * {@inheritDoc} + */ + public function hasModuleId($moduleId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasModuleId', [$moduleId]); + + return parent::hasModuleId($moduleId); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesSessionModule.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesSessionModule.php new file mode 100644 index 0000000000..a583607d6a --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesSessionModule.php @@ -0,0 +1,279 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\SessionModule' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\SessionModule' . "\0" . 'module_id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\SessionModule' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\SessionModule' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\SessionModule' . "\0" . 'session']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\SessionModule' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\SessionModule' . "\0" . 'module_id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\SessionModule' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\SessionModule' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\SessionModule' . "\0" . 'session']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (SessionModule $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setModuleId($moduleId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setModuleId', [$moduleId]); + + return parent::setModuleId($moduleId); + } + + /** + * {@inheritDoc} + */ + public function getModuleId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getModuleId', []); + + return parent::getModuleId(); + } + + /** + * {@inheritDoc} + */ + public function setCreated($created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function setSession(\Alchemy\Phrasea\Model\Entities\Session $session = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSession', [$session]); + + return parent::setSession($session); + } + + /** + * {@inheritDoc} + */ + public function getSession() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSession', []); + + return parent::getSession(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesStoryWZ.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesStoryWZ.php new file mode 100644 index 0000000000..6cc3aa9154 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesStoryWZ.php @@ -0,0 +1,301 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\StoryWZ' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\StoryWZ' . "\0" . 'sbas_id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\StoryWZ' . "\0" . 'record_id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\StoryWZ' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\StoryWZ' . "\0" . 'created']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\StoryWZ' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\StoryWZ' . "\0" . 'sbas_id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\StoryWZ' . "\0" . 'record_id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\StoryWZ' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\StoryWZ' . "\0" . 'created']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (StoryWZ $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setSbasId($sbasId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSbasId', [$sbasId]); + + return parent::setSbasId($sbasId); + } + + /** + * {@inheritDoc} + */ + public function getSbasId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSbasId', []); + + return parent::getSbasId(); + } + + /** + * {@inheritDoc} + */ + public function setRecordId($recordId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRecordId', [$recordId]); + + return parent::setRecordId($recordId); + } + + /** + * {@inheritDoc} + */ + public function getRecordId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRecordId', []); + + return parent::getRecordId(); + } + + /** + * {@inheritDoc} + */ + public function getRecord(\Alchemy\Phrasea\Application $app) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRecord', [$app]); + + return parent::getRecord($app); + } + + /** + * {@inheritDoc} + */ + public function setRecord(\record_adapter $record) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRecord', [$record]); + + return parent::setRecord($record); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesTask.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesTask.php new file mode 100644 index 0000000000..40d1f5651b --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesTask.php @@ -0,0 +1,433 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'name', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'jobId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'settings', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'completed', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'status', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'crashed', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'singleRun', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'lastExecution', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'period']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'name', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'jobId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'settings', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'completed', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'status', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'crashed', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'singleRun', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'lastExecution', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Task' . "\0" . 'period']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (Task $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setName($name) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]); + + return parent::setName($name); + } + + /** + * {@inheritDoc} + */ + public function getName() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []); + + return parent::getName(); + } + + /** + * {@inheritDoc} + */ + public function setJobId($jobId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setJobId', [$jobId]); + + return parent::setJobId($jobId); + } + + /** + * {@inheritDoc} + */ + public function getJobId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getJobId', []); + + return parent::getJobId(); + } + + /** + * {@inheritDoc} + */ + public function setSettings($settings) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSettings', [$settings]); + + return parent::setSettings($settings); + } + + /** + * {@inheritDoc} + */ + public function getSettings() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSettings', []); + + return parent::getSettings(); + } + + /** + * {@inheritDoc} + */ + public function setCompleted($completed) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCompleted', [$completed]); + + return parent::setCompleted($completed); + } + + /** + * {@inheritDoc} + */ + public function isCompleted() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isCompleted', []); + + return parent::isCompleted(); + } + + /** + * {@inheritDoc} + */ + public function setStatus($status) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setStatus', [$status]); + + return parent::setStatus($status); + } + + /** + * {@inheritDoc} + */ + public function getStatus() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatus', []); + + return parent::getStatus(); + } + + /** + * {@inheritDoc} + */ + public function setCrashed($crashed) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCrashed', [$crashed]); + + return parent::setCrashed($crashed); + } + + /** + * {@inheritDoc} + */ + public function getCrashed() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCrashed', []); + + return parent::getCrashed(); + } + + /** + * {@inheritDoc} + */ + public function setSingleRun($singleRun) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSingleRun', [$singleRun]); + + return parent::setSingleRun($singleRun); + } + + /** + * {@inheritDoc} + */ + public function isSingleRun() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isSingleRun', []); + + return parent::isSingleRun(); + } + + /** + * {@inheritDoc} + */ + public function setCreated($created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated($updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function setExecuted($lastExecution) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setExecuted', [$lastExecution]); + + return parent::setExecuted($lastExecution); + } + + /** + * {@inheritDoc} + */ + public function getLastExecution() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastExecution', []); + + return parent::getLastExecution(); + } + + /** + * {@inheritDoc} + */ + public function getPeriod() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPeriod', []); + + return parent::getPeriod(); + } + + /** + * {@inheritDoc} + */ + public function setPeriod($period) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPeriod', [$period]); + + return parent::setPeriod($period); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesToken.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesToken.php new file mode 100644 index 0000000000..430803b116 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesToken.php @@ -0,0 +1,334 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Token' . "\0" . 'value', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Token' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Token' . "\0" . 'type', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Token' . "\0" . 'data', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Token' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Token' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Token' . "\0" . 'expiration']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Token' . "\0" . 'value', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Token' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Token' . "\0" . 'type', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Token' . "\0" . 'data', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Token' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Token' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\Token' . "\0" . 'expiration']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (Token $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function setValue($value) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setValue', [$value]); + + return parent::setValue($value); + } + + /** + * {@inheritDoc} + */ + public function getValue() + { + if ($this->__isInitialized__ === false) { + return parent::getValue(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getValue', []); + + return parent::getValue(); + } + + /** + * {@inheritDoc} + */ + public function setType($type) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setType', [$type]); + + return parent::setType($type); + } + + /** + * {@inheritDoc} + */ + public function getType() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getType', []); + + return parent::getType(); + } + + /** + * {@inheritDoc} + */ + public function setData($data) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setData', [$data]); + + return parent::setData($data); + } + + /** + * {@inheritDoc} + */ + public function getData() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getData', []); + + return parent::getData(); + } + + /** + * {@inheritDoc} + */ + public function setCreated($created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated($updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function setExpiration(\DateTime $expiration = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setExpiration', [$expiration]); + + return parent::setExpiration($expiration); + } + + /** + * {@inheritDoc} + */ + public function getExpiration() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getExpiration', []); + + return parent::getExpiration(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUser.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUser.php new file mode 100644 index 0000000000..5bd1144ed7 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUser.php @@ -0,0 +1,1082 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'login', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'email', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'password', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'nonce', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'saltedPassword', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'firstName', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'lastName', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'gender', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'address', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'city', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'country', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'zipCode', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'geonameId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'locale', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'timezone', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'job', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'activity', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'company', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'phone', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'fax', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'admin', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'guest', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'mailNotificationsActivated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'requestNotificationsActivated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'ldapCreated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'lastAppliedTemplate', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'pushList', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'canChangeProfil', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'canChangeFtpProfil', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'lastConnection', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'mailLocked', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'deleted', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'templateOwner', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'ftpCredential', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'queries', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'settings', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'notificationSettings']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'login', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'email', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'password', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'nonce', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'saltedPassword', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'firstName', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'lastName', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'gender', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'address', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'city', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'country', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'zipCode', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'geonameId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'locale', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'timezone', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'job', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'activity', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'company', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'phone', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'fax', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'admin', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'guest', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'mailNotificationsActivated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'requestNotificationsActivated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'ldapCreated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'lastAppliedTemplate', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'pushList', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'canChangeProfil', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'canChangeFtpProfil', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'lastConnection', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'mailLocked', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'deleted', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'templateOwner', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'ftpCredential', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'queries', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'settings', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\User' . "\0" . 'notificationSettings']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (User $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function getLogin() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLogin', []); + + return parent::getLogin(); + } + + /** + * {@inheritDoc} + */ + public function setLogin($login) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLogin', [$login]); + + return parent::setLogin($login); + } + + /** + * {@inheritDoc} + */ + public function getEmail() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmail', []); + + return parent::getEmail(); + } + + /** + * {@inheritDoc} + */ + public function setEmail($email) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmail', [$email]); + + return parent::setEmail($email); + } + + /** + * {@inheritDoc} + */ + public function getPassword() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPassword', []); + + return parent::getPassword(); + } + + /** + * {@inheritDoc} + */ + public function setPassword($password) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPassword', [$password]); + + return parent::setPassword($password); + } + + /** + * {@inheritDoc} + */ + public function getNonce() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNonce', []); + + return parent::getNonce(); + } + + /** + * {@inheritDoc} + */ + public function setNonce($nonce) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNonce', [$nonce]); + + return parent::setNonce($nonce); + } + + /** + * {@inheritDoc} + */ + public function isSaltedPassword() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isSaltedPassword', []); + + return parent::isSaltedPassword(); + } + + /** + * {@inheritDoc} + */ + public function setSaltedPassword($saltedPassword) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSaltedPassword', [$saltedPassword]); + + return parent::setSaltedPassword($saltedPassword); + } + + /** + * {@inheritDoc} + */ + public function getFirstName() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFirstName', []); + + return parent::getFirstName(); + } + + /** + * {@inheritDoc} + */ + public function setFirstName($firstName) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFirstName', [$firstName]); + + return parent::setFirstName($firstName); + } + + /** + * {@inheritDoc} + */ + public function getLastName() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastName', []); + + return parent::getLastName(); + } + + /** + * {@inheritDoc} + */ + public function setLastName($lastName) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastName', [$lastName]); + + return parent::setLastName($lastName); + } + + /** + * {@inheritDoc} + */ + public function getGender() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getGender', []); + + return parent::getGender(); + } + + /** + * {@inheritDoc} + */ + public function setGender($gender) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setGender', [$gender]); + + return parent::setGender($gender); + } + + /** + * {@inheritDoc} + */ + public function getAddress() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAddress', []); + + return parent::getAddress(); + } + + /** + * {@inheritDoc} + */ + public function setAddress($address) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAddress', [$address]); + + return parent::setAddress($address); + } + + /** + * {@inheritDoc} + */ + public function getCity() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCity', []); + + return parent::getCity(); + } + + /** + * {@inheritDoc} + */ + public function setCity($city) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCity', [$city]); + + return parent::setCity($city); + } + + /** + * {@inheritDoc} + */ + public function getCountry() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCountry', []); + + return parent::getCountry(); + } + + /** + * {@inheritDoc} + */ + public function setCountry($country) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCountry', [$country]); + + return parent::setCountry($country); + } + + /** + * {@inheritDoc} + */ + public function getZipCode() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getZipCode', []); + + return parent::getZipCode(); + } + + /** + * {@inheritDoc} + */ + public function setZipCode($zipCode) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setZipCode', [$zipCode]); + + return parent::setZipCode($zipCode); + } + + /** + * {@inheritDoc} + */ + public function getGeonameId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getGeonameId', []); + + return parent::getGeonameId(); + } + + /** + * {@inheritDoc} + */ + public function setGeonameId($geonameId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setGeonameId', [$geonameId]); + + return parent::setGeonameId($geonameId); + } + + /** + * {@inheritDoc} + */ + public function getLocale() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLocale', []); + + return parent::getLocale(); + } + + /** + * {@inheritDoc} + */ + public function setLocale($locale) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLocale', [$locale]); + + return parent::setLocale($locale); + } + + /** + * {@inheritDoc} + */ + public function getTimezone() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTimezone', []); + + return parent::getTimezone(); + } + + /** + * {@inheritDoc} + */ + public function setTimezone($timezone) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTimezone', [$timezone]); + + return parent::setTimezone($timezone); + } + + /** + * {@inheritDoc} + */ + public function getJob() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getJob', []); + + return parent::getJob(); + } + + /** + * {@inheritDoc} + */ + public function setJob($job) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setJob', [$job]); + + return parent::setJob($job); + } + + /** + * {@inheritDoc} + */ + public function getActivity() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getActivity', []); + + return parent::getActivity(); + } + + /** + * {@inheritDoc} + */ + public function setActivity($activity) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setActivity', [$activity]); + + return parent::setActivity($activity); + } + + /** + * {@inheritDoc} + */ + public function getCompany() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCompany', []); + + return parent::getCompany(); + } + + /** + * {@inheritDoc} + */ + public function setCompany($company) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCompany', [$company]); + + return parent::setCompany($company); + } + + /** + * {@inheritDoc} + */ + public function getPhone() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPhone', []); + + return parent::getPhone(); + } + + /** + * {@inheritDoc} + */ + public function setPhone($phone) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPhone', [$phone]); + + return parent::setPhone($phone); + } + + /** + * {@inheritDoc} + */ + public function getFax() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFax', []); + + return parent::getFax(); + } + + /** + * {@inheritDoc} + */ + public function setFax($fax) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFax', [$fax]); + + return parent::setFax($fax); + } + + /** + * {@inheritDoc} + */ + public function isAdmin() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isAdmin', []); + + return parent::isAdmin(); + } + + /** + * {@inheritDoc} + */ + public function setAdmin($admin) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAdmin', [$admin]); + + return parent::setAdmin($admin); + } + + /** + * {@inheritDoc} + */ + public function isGuest() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isGuest', []); + + return parent::isGuest(); + } + + /** + * {@inheritDoc} + */ + public function setGuest($guest) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setGuest', [$guest]); + + return parent::setGuest($guest); + } + + /** + * {@inheritDoc} + */ + public function hasMailNotificationsActivated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasMailNotificationsActivated', []); + + return parent::hasMailNotificationsActivated(); + } + + /** + * {@inheritDoc} + */ + public function setMailNotificationsActivated($mailNotifications) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setMailNotificationsActivated', [$mailNotifications]); + + return parent::setMailNotificationsActivated($mailNotifications); + } + + /** + * {@inheritDoc} + */ + public function hasRequestNotificationsActivated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasRequestNotificationsActivated', []); + + return parent::hasRequestNotificationsActivated(); + } + + /** + * {@inheritDoc} + */ + public function setRequestNotificationsActivated($requestNotifications) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRequestNotificationsActivated', [$requestNotifications]); + + return parent::setRequestNotificationsActivated($requestNotifications); + } + + /** + * {@inheritDoc} + */ + public function hasLdapCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasLdapCreated', []); + + return parent::hasLdapCreated(); + } + + /** + * {@inheritDoc} + */ + public function setLdapCreated($ldapCreated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLdapCreated', [$ldapCreated]); + + return parent::setLdapCreated($ldapCreated); + } + + /** + * {@inheritDoc} + */ + public function getTemplateOwner() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTemplateOwner', []); + + return parent::getTemplateOwner(); + } + + /** + * {@inheritDoc} + */ + public function setTemplateOwner(\Alchemy\Phrasea\Model\Entities\User $owner) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTemplateOwner', [$owner]); + + return parent::setTemplateOwner($owner); + } + + /** + * {@inheritDoc} + */ + public function getLastAppliedTemplate() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastAppliedTemplate', []); + + return parent::getLastAppliedTemplate(); + } + + /** + * {@inheritDoc} + */ + public function setLastAppliedTemplate(\Alchemy\Phrasea\Model\Entities\User $lastAppliedTemplate) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastAppliedTemplate', [$lastAppliedTemplate]); + + return parent::setLastAppliedTemplate($lastAppliedTemplate); + } + + /** + * {@inheritDoc} + */ + public function getPushList() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPushList', []); + + return parent::getPushList(); + } + + /** + * {@inheritDoc} + */ + public function setPushList($pushList) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPushList', [$pushList]); + + return parent::setPushList($pushList); + } + + /** + * {@inheritDoc} + */ + public function canChangeProfil() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'canChangeProfil', []); + + return parent::canChangeProfil(); + } + + /** + * {@inheritDoc} + */ + public function setCanChangeProfil($canChangeProfil) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCanChangeProfil', [$canChangeProfil]); + + return parent::setCanChangeProfil($canChangeProfil); + } + + /** + * {@inheritDoc} + */ + public function canChangeFtpProfil() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'canChangeFtpProfil', []); + + return parent::canChangeFtpProfil(); + } + + /** + * {@inheritDoc} + */ + public function setCanChangeFtpProfil($canChangeFtpProfil) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCanChangeFtpProfil', [$canChangeFtpProfil]); + + return parent::setCanChangeFtpProfil($canChangeFtpProfil); + } + + /** + * {@inheritDoc} + */ + public function getLastConnection() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastConnection', []); + + return parent::getLastConnection(); + } + + /** + * {@inheritDoc} + */ + public function setLastConnection(\DateTime $lastConnection) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastConnection', [$lastConnection]); + + return parent::setLastConnection($lastConnection); + } + + /** + * {@inheritDoc} + */ + public function isMailLocked() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isMailLocked', []); + + return parent::isMailLocked(); + } + + /** + * {@inheritDoc} + */ + public function setMailLocked($mailLocked) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setMailLocked', [$mailLocked]); + + return parent::setMailLocked($mailLocked); + } + + /** + * {@inheritDoc} + */ + public function isDeleted() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isDeleted', []); + + return parent::isDeleted(); + } + + /** + * {@inheritDoc} + */ + public function setDeleted($deleted) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeleted', [$deleted]); + + return parent::setDeleted($deleted); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getFtpCredential() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFtpCredential', []); + + return parent::getFtpCredential(); + } + + /** + * {@inheritDoc} + */ + public function setFtpCredential(\Alchemy\Phrasea\Model\Entities\FtpCredential $ftpCredential = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFtpCredential', [$ftpCredential]); + + return parent::setFtpCredential($ftpCredential); + } + + /** + * {@inheritDoc} + */ + public function getQueries() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getQueries', []); + + return parent::getQueries(); + } + + /** + * {@inheritDoc} + */ + public function addQuery(\Alchemy\Phrasea\Model\Entities\UserQuery $query) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addQuery', [$query]); + + return parent::addQuery($query); + } + + /** + * {@inheritDoc} + */ + public function getSettings() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSettings', []); + + return parent::getSettings(); + } + + /** + * {@inheritDoc} + */ + public function addSetting(\Alchemy\Phrasea\Model\Entities\UserSetting $setting) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addSetting', [$setting]); + + return parent::addSetting($setting); + } + + /** + * {@inheritDoc} + */ + public function getNotificationSettings() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNotificationSettings', []); + + return parent::getNotificationSettings(); + } + + /** + * {@inheritDoc} + */ + public function addNotificationSettings(\Alchemy\Phrasea\Model\Entities\UserNotificationSetting $notificationSetting) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addNotificationSettings', [$notificationSetting]); + + return parent::addNotificationSettings($notificationSetting); + } + + /** + * {@inheritDoc} + */ + public function isTemplate() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isTemplate', []); + + return parent::isTemplate(); + } + + /** + * {@inheritDoc} + */ + public function isSpecial() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isSpecial', []); + + return parent::isSpecial(); + } + + /** + * {@inheritDoc} + */ + public function getDisplayName() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDisplayName', []); + + return parent::getDisplayName(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUserNotificationSetting.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUserNotificationSetting.php new file mode 100644 index 0000000000..19d059f974 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUserNotificationSetting.php @@ -0,0 +1,301 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserNotificationSetting' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserNotificationSetting' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserNotificationSetting' . "\0" . 'name', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserNotificationSetting' . "\0" . 'value', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserNotificationSetting' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserNotificationSetting' . "\0" . 'updated']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserNotificationSetting' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserNotificationSetting' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserNotificationSetting' . "\0" . 'name', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserNotificationSetting' . "\0" . 'value', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserNotificationSetting' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserNotificationSetting' . "\0" . 'updated']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (UserNotificationSetting $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getName() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []); + + return parent::getName(); + } + + /** + * {@inheritDoc} + */ + public function setName($name) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]); + + return parent::setName($name); + } + + /** + * {@inheritDoc} + */ + public function getValue() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getValue', []); + + return parent::getValue(); + } + + /** + * {@inheritDoc} + */ + public function setValue($value) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setValue', [$value]); + + return parent::setValue($value); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated($updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUserQuery.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUserQuery.php new file mode 100644 index 0000000000..69b72b6dba --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUserQuery.php @@ -0,0 +1,257 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserQuery' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserQuery' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserQuery' . "\0" . 'query', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserQuery' . "\0" . 'created']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserQuery' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserQuery' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserQuery' . "\0" . 'query', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserQuery' . "\0" . 'created']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (UserQuery $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getQuery() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getQuery', []); + + return parent::getQuery(); + } + + /** + * {@inheritDoc} + */ + public function setQuery($query) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setQuery', [$query]); + + return parent::setQuery($query); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUserSetting.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUserSetting.php new file mode 100644 index 0000000000..699e7e1859 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUserSetting.php @@ -0,0 +1,301 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserSetting' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserSetting' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserSetting' . "\0" . 'name', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserSetting' . "\0" . 'value', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserSetting' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserSetting' . "\0" . 'updated']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserSetting' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserSetting' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserSetting' . "\0" . 'name', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserSetting' . "\0" . 'value', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserSetting' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UserSetting' . "\0" . 'updated']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (UserSetting $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getName() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []); + + return parent::getName(); + } + + /** + * {@inheritDoc} + */ + public function setName($name) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]); + + return parent::setName($name); + } + + /** + * {@inheritDoc} + */ + public function getValue() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getValue', []); + + return parent::getValue(); + } + + /** + * {@inheritDoc} + */ + public function setValue($value) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setValue', [$value]); + + return parent::setValue($value); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUsrAuthProvider.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUsrAuthProvider.php new file mode 100644 index 0000000000..da663885ad --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUsrAuthProvider.php @@ -0,0 +1,301 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrAuthProvider' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrAuthProvider' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrAuthProvider' . "\0" . 'provider', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrAuthProvider' . "\0" . 'distant_id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrAuthProvider' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrAuthProvider' . "\0" . 'updated']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrAuthProvider' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrAuthProvider' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrAuthProvider' . "\0" . 'provider', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrAuthProvider' . "\0" . 'distant_id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrAuthProvider' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrAuthProvider' . "\0" . 'updated']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (UsrAuthProvider $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function setProvider($provider) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setProvider', [$provider]); + + return parent::setProvider($provider); + } + + /** + * {@inheritDoc} + */ + public function getProvider() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getProvider', []); + + return parent::getProvider(); + } + + /** + * {@inheritDoc} + */ + public function setDistantId($distantId) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDistantId', [$distantId]); + + return parent::setDistantId($distantId); + } + + /** + * {@inheritDoc} + */ + public function getDistantId() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDistantId', []); + + return parent::getDistantId(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUsrList.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUsrList.php new file mode 100644 index 0000000000..8f7c5b5156 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUsrList.php @@ -0,0 +1,356 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrList' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrList' . "\0" . 'name', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrList' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrList' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrList' . "\0" . 'owners', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrList' . "\0" . 'entries']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrList' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrList' . "\0" . 'name', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrList' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrList' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrList' . "\0" . 'owners', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrList' . "\0" . 'entries']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (UsrList $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setName($name) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]); + + return parent::setName($name); + } + + /** + * {@inheritDoc} + */ + public function getName() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []); + + return parent::getName(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function addOwner(\Alchemy\Phrasea\Model\Entities\UsrListOwner $owners) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addOwner', [$owners]); + + return parent::addOwner($owners); + } + + /** + * {@inheritDoc} + */ + public function removeOwner(\Alchemy\Phrasea\Model\Entities\UsrListOwner $owners) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeOwner', [$owners]); + + return parent::removeOwner($owners); + } + + /** + * {@inheritDoc} + */ + public function getOwners() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getOwners', []); + + return parent::getOwners(); + } + + /** + * {@inheritDoc} + */ + public function addEntrie(\Alchemy\Phrasea\Model\Entities\UsrListEntry $entries) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addEntrie', [$entries]); + + return parent::addEntrie($entries); + } + + /** + * {@inheritDoc} + */ + public function removeEntrie(\Alchemy\Phrasea\Model\Entities\UsrListEntry $entries) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeEntrie', [$entries]); + + return parent::removeEntrie($entries); + } + + /** + * {@inheritDoc} + */ + public function getEntries() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEntries', []); + + return parent::getEntries(); + } + + /** + * {@inheritDoc} + */ + public function hasAccess(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasAccess', [$user]); + + return parent::hasAccess($user); + } + + /** + * {@inheritDoc} + */ + public function getOwner(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getOwner', [$user]); + + return parent::getOwner($user); + } + + /** + * {@inheritDoc} + */ + public function has(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'has', [$user]); + + return parent::has($user); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUsrListEntry.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUsrListEntry.php new file mode 100644 index 0000000000..229db893bf --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUsrListEntry.php @@ -0,0 +1,279 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListEntry' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListEntry' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListEntry' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListEntry' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListEntry' . "\0" . 'list']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListEntry' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListEntry' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListEntry' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListEntry' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListEntry' . "\0" . 'list']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (UsrListEntry $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function setList(\Alchemy\Phrasea\Model\Entities\UsrList $list = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setList', [$list]); + + return parent::setList($list); + } + + /** + * {@inheritDoc} + */ + public function getList() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getList', []); + + return parent::getList(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUsrListOwner.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUsrListOwner.php new file mode 100644 index 0000000000..3894723bd9 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesUsrListOwner.php @@ -0,0 +1,301 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListOwner' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListOwner' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListOwner' . "\0" . 'role', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListOwner' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListOwner' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListOwner' . "\0" . 'list']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListOwner' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListOwner' . "\0" . 'user', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListOwner' . "\0" . 'role', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListOwner' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListOwner' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\UsrListOwner' . "\0" . 'list']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (UsrListOwner $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function setRole($role) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRole', [$role]); + + return parent::setRole($role); + } + + /** + * {@inheritDoc} + */ + public function getRole() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRole', []); + + return parent::getRole(); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function setList(\Alchemy\Phrasea\Model\Entities\UsrList $list = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setList', [$list]); + + return parent::setList($list); + } + + /** + * {@inheritDoc} + */ + public function getList() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getList', []); + + return parent::getList(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesValidationData.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesValidationData.php new file mode 100644 index 0000000000..d3385b983c --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesValidationData.php @@ -0,0 +1,301 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationData' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationData' . "\0" . 'agreement', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationData' . "\0" . 'note', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationData' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationData' . "\0" . 'participant', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationData' . "\0" . 'basket_element']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationData' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationData' . "\0" . 'agreement', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationData' . "\0" . 'note', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationData' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationData' . "\0" . 'participant', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationData' . "\0" . 'basket_element']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (ValidationData $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setAgreement($agreement) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAgreement', [$agreement]); + + return parent::setAgreement($agreement); + } + + /** + * {@inheritDoc} + */ + public function getAgreement() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAgreement', []); + + return parent::getAgreement(); + } + + /** + * {@inheritDoc} + */ + public function setNote($note) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNote', [$note]); + + return parent::setNote($note); + } + + /** + * {@inheritDoc} + */ + public function getNote() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNote', []); + + return parent::getNote(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function setParticipant(\Alchemy\Phrasea\Model\Entities\ValidationParticipant $participant = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setParticipant', [$participant]); + + return parent::setParticipant($participant); + } + + /** + * {@inheritDoc} + */ + public function getParticipant() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getParticipant', []); + + return parent::getParticipant(); + } + + /** + * {@inheritDoc} + */ + public function setBasketElement(\Alchemy\Phrasea\Model\Entities\BasketElement $basketElement = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBasketElement', [$basketElement]); + + return parent::setBasketElement($basketElement); + } + + /** + * {@inheritDoc} + */ + public function getBasketElement() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getBasketElement', []); + + return parent::getBasketElement(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesValidationParticipant.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesValidationParticipant.php new file mode 100644 index 0000000000..a299076712 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesValidationParticipant.php @@ -0,0 +1,389 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationParticipant' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationParticipant' . "\0" . 'is_aware', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationParticipant' . "\0" . 'is_confirmed', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationParticipant' . "\0" . 'can_agree', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationParticipant' . "\0" . 'can_see_others', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationParticipant' . "\0" . 'reminded', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationParticipant' . "\0" . 'datas', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationParticipant' . "\0" . 'session', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationParticipant' . "\0" . 'user']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationParticipant' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationParticipant' . "\0" . 'is_aware', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationParticipant' . "\0" . 'is_confirmed', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationParticipant' . "\0" . 'can_agree', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationParticipant' . "\0" . 'can_see_others', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationParticipant' . "\0" . 'reminded', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationParticipant' . "\0" . 'datas', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationParticipant' . "\0" . 'session', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationParticipant' . "\0" . 'user']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (ValidationParticipant $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setUser(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]); + + return parent::setUser($user); + } + + /** + * {@inheritDoc} + */ + public function getUser() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', []); + + return parent::getUser(); + } + + /** + * {@inheritDoc} + */ + public function setIsAware($isAware) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsAware', [$isAware]); + + return parent::setIsAware($isAware); + } + + /** + * {@inheritDoc} + */ + public function getIsAware() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsAware', []); + + return parent::getIsAware(); + } + + /** + * {@inheritDoc} + */ + public function setIsConfirmed($isConfirmed) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsConfirmed', [$isConfirmed]); + + return parent::setIsConfirmed($isConfirmed); + } + + /** + * {@inheritDoc} + */ + public function getIsConfirmed() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsConfirmed', []); + + return parent::getIsConfirmed(); + } + + /** + * {@inheritDoc} + */ + public function setCanAgree($canAgree) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCanAgree', [$canAgree]); + + return parent::setCanAgree($canAgree); + } + + /** + * {@inheritDoc} + */ + public function getCanAgree() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCanAgree', []); + + return parent::getCanAgree(); + } + + /** + * {@inheritDoc} + */ + public function setCanSeeOthers($canSeeOthers) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCanSeeOthers', [$canSeeOthers]); + + return parent::setCanSeeOthers($canSeeOthers); + } + + /** + * {@inheritDoc} + */ + public function getCanSeeOthers() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCanSeeOthers', []); + + return parent::getCanSeeOthers(); + } + + /** + * {@inheritDoc} + */ + public function setReminded($reminded) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setReminded', [$reminded]); + + return parent::setReminded($reminded); + } + + /** + * {@inheritDoc} + */ + public function getReminded() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getReminded', []); + + return parent::getReminded(); + } + + /** + * {@inheritDoc} + */ + public function addData(\Alchemy\Phrasea\Model\Entities\ValidationData $datas) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addData', [$datas]); + + return parent::addData($datas); + } + + /** + * {@inheritDoc} + */ + public function removeData(\Alchemy\Phrasea\Model\Entities\ValidationData $datas) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeData', [$datas]); + + return parent::removeData($datas); + } + + /** + * {@inheritDoc} + */ + public function getDatas() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDatas', []); + + return parent::getDatas(); + } + + /** + * {@inheritDoc} + */ + public function setSession(\Alchemy\Phrasea\Model\Entities\ValidationSession $session = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSession', [$session]); + + return parent::setSession($session); + } + + /** + * {@inheritDoc} + */ + public function getSession() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSession', []); + + return parent::getSession(); + } + + /** + * {@inheritDoc} + */ + public function isReleasable() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isReleasable', []); + + return parent::isReleasable(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesValidationSession.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesValidationSession.php new file mode 100644 index 0000000000..1d8f3697d0 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesValidationSession.php @@ -0,0 +1,378 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationSession' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationSession' . "\0" . 'initiator', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationSession' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationSession' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationSession' . "\0" . 'expires', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationSession' . "\0" . 'basket', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationSession' . "\0" . 'participants']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationSession' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationSession' . "\0" . 'initiator', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationSession' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationSession' . "\0" . 'updated', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationSession' . "\0" . 'expires', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationSession' . "\0" . 'basket', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\ValidationSession' . "\0" . 'participants']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (ValidationSession $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setInitiator(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setInitiator', [$user]); + + return parent::setInitiator($user); + } + + /** + * {@inheritDoc} + */ + public function getInitiator() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getInitiator', []); + + return parent::getInitiator(); + } + + /** + * {@inheritDoc} + */ + public function isInitiator(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isInitiator', [$user]); + + return parent::isInitiator($user); + } + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function setUpdated(\DateTime $updated) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdated', [$updated]); + + return parent::setUpdated($updated); + } + + /** + * {@inheritDoc} + */ + public function getUpdated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', []); + + return parent::getUpdated(); + } + + /** + * {@inheritDoc} + */ + public function setExpires($expires) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setExpires', [$expires]); + + return parent::setExpires($expires); + } + + /** + * {@inheritDoc} + */ + public function getExpires() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getExpires', []); + + return parent::getExpires(); + } + + /** + * {@inheritDoc} + */ + public function setBasket(\Alchemy\Phrasea\Model\Entities\Basket $basket = NULL) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBasket', [$basket]); + + return parent::setBasket($basket); + } + + /** + * {@inheritDoc} + */ + public function getBasket() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getBasket', []); + + return parent::getBasket(); + } + + /** + * {@inheritDoc} + */ + public function addParticipant(\Alchemy\Phrasea\Model\Entities\ValidationParticipant $participants) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'addParticipant', [$participants]); + + return parent::addParticipant($participants); + } + + /** + * {@inheritDoc} + */ + public function removeParticipant(\Alchemy\Phrasea\Model\Entities\ValidationParticipant $participants) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeParticipant', [$participants]); + + return parent::removeParticipant($participants); + } + + /** + * {@inheritDoc} + */ + public function getParticipants() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getParticipants', []); + + return parent::getParticipants(); + } + + /** + * {@inheritDoc} + */ + public function isFinished() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isFinished', []); + + return parent::isFinished(); + } + + /** + * {@inheritDoc} + */ + public function getValidationString(\Alchemy\Phrasea\Application $app, \Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getValidationString', [$app, $user]); + + return parent::getValidationString($app, $user); + } + + /** + * {@inheritDoc} + */ + public function getParticipant(\Alchemy\Phrasea\Model\Entities\User $user) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getParticipant', [$user]); + + return parent::getParticipant($user); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesWebhookEvent.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesWebhookEvent.php new file mode 100644 index 0000000000..7c4f5f2dda --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesWebhookEvent.php @@ -0,0 +1,301 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEvent' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEvent' . "\0" . 'name', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEvent' . "\0" . 'type', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEvent' . "\0" . 'data', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEvent' . "\0" . 'processed', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEvent' . "\0" . 'created']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEvent' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEvent' . "\0" . 'name', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEvent' . "\0" . 'type', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEvent' . "\0" . 'data', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEvent' . "\0" . 'processed', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEvent' . "\0" . 'created']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (WebhookEvent $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setData(array $data) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setData', [$data]); + + return parent::setData($data); + } + + /** + * {@inheritDoc} + */ + public function getData() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getData', []); + + return parent::getData(); + } + + /** + * {@inheritDoc} + */ + public function setName($name) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]); + + return parent::setName($name); + } + + /** + * {@inheritDoc} + */ + public function getName() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []); + + return parent::getName(); + } + + /** + * {@inheritDoc} + */ + public function setProcessed($processed) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setProcessed', [$processed]); + + return parent::setProcessed($processed); + } + + /** + * {@inheritDoc} + */ + public function isProcessed() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isProcessed', []); + + return parent::isProcessed(); + } + + /** + * {@inheritDoc} + */ + public function getType() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getType', []); + + return parent::getType(); + } + + /** + * {@inheritDoc} + */ + public function setType($type) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setType', [$type]); + + return parent::setType($type); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesWebhookEventDelivery.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesWebhookEventDelivery.php new file mode 100644 index 0000000000..b47b04061f --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesWebhookEventDelivery.php @@ -0,0 +1,312 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventDelivery' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventDelivery' . "\0" . 'application', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventDelivery' . "\0" . 'event', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventDelivery' . "\0" . 'delivered', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventDelivery' . "\0" . 'deliveryTries', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventDelivery' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventDelivery' . "\0" . 'payload']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventDelivery' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventDelivery' . "\0" . 'application', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventDelivery' . "\0" . 'event', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventDelivery' . "\0" . 'delivered', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventDelivery' . "\0" . 'deliveryTries', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventDelivery' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventDelivery' . "\0" . 'payload']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (WebhookEventDelivery $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function setCreated(\DateTime $created) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreated', [$created]); + + return parent::setCreated($created); + } + + /** + * {@inheritDoc} + */ + public function getCreated() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); + + return parent::getCreated(); + } + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return (int) parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function setDelivered($delivered) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDelivered', [$delivered]); + + return parent::setDelivered($delivered); + } + + /** + * {@inheritDoc} + */ + public function isDelivered() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'isDelivered', []); + + return parent::isDelivered(); + } + + /** + * {@inheritDoc} + */ + public function getDeliveryTries() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeliveryTries', []); + + return parent::getDeliveryTries(); + } + + /** + * {@inheritDoc} + */ + public function setDeliverTries($try) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeliverTries', [$try]); + + return parent::setDeliverTries($try); + } + + /** + * {@inheritDoc} + */ + public function getThirdPartyApplication() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getThirdPartyApplication', []); + + return parent::getThirdPartyApplication(); + } + + /** + * {@inheritDoc} + */ + public function setThirdPartyApplication(\Alchemy\Phrasea\Model\Entities\ApiApplication $application) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setThirdPartyApplication', [$application]); + + return parent::setThirdPartyApplication($application); + } + + /** + * {@inheritDoc} + */ + public function setWebhookEvent(\Alchemy\Phrasea\Model\Entities\WebhookEvent $event) + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'setWebhookEvent', [$event]); + + return parent::setWebhookEvent($event); + } + + /** + * {@inheritDoc} + */ + public function getWebhookEvent() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWebhookEvent', []); + + return parent::getWebhookEvent(); + } + + /** + * {@inheritDoc} + */ + public function getPayload() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPayload', []); + + return parent::getPayload(); + } + +} diff --git a/resources/proxies/__CG__AlchemyPhraseaModelEntitiesWebhookEventPayload.php b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesWebhookEventPayload.php new file mode 100644 index 0000000000..c170e0dac3 --- /dev/null +++ b/resources/proxies/__CG__AlchemyPhraseaModelEntitiesWebhookEventPayload.php @@ -0,0 +1,246 @@ +__initializer__ = $initializer; + $this->__cloner__ = $cloner; + } + + + + + + + + /** + * + * @return array + */ + public function __sleep() + { + if ($this->__isInitialized__) { + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventPayload' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventPayload' . "\0" . 'delivery', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventPayload' . "\0" . 'requestPayload', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventPayload' . "\0" . 'responsePayload', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventPayload' . "\0" . 'statusCode', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventPayload' . "\0" . 'headers']; + } + + return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventPayload' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventPayload' . "\0" . 'delivery', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventPayload' . "\0" . 'requestPayload', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventPayload' . "\0" . 'responsePayload', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventPayload' . "\0" . 'statusCode', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WebhookEventPayload' . "\0" . 'headers']; + } + + /** + * + */ + public function __wakeup() + { + if ( ! $this->__isInitialized__) { + $this->__initializer__ = function (WebhookEventPayload $proxy) { + $proxy->__setInitializer(null); + $proxy->__setCloner(null); + + $existingProperties = get_object_vars($proxy); + + foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { + if ( ! array_key_exists($property, $existingProperties)) { + $proxy->$property = $defaultValue; + } + } + }; + + } + } + + /** + * + */ + public function __clone() + { + $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); + } + + /** + * Forces initialization of the proxy + */ + public function __load() + { + $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __isInitialized() + { + return $this->__isInitialized__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitialized($initialized) + { + $this->__isInitialized__ = $initialized; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setInitializer(\Closure $initializer = null) + { + $this->__initializer__ = $initializer; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __getInitializer() + { + return $this->__initializer__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + */ + public function __setCloner(\Closure $cloner = null) + { + $this->__cloner__ = $cloner; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific cloning logic + */ + public function __getCloner() + { + return $this->__cloner__; + } + + /** + * {@inheritDoc} + * @internal generated method: use only when explicitly handling proxy specific loading logic + * @static + */ + public function __getLazyProperties() + { + return self::$lazyPropertiesDefaults; + } + + + /** + * {@inheritDoc} + */ + public function getId() + { + if ($this->__isInitialized__ === false) { + return parent::getId(); + } + + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); + + return parent::getId(); + } + + /** + * {@inheritDoc} + */ + public function getDelivery() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDelivery', []); + + return parent::getDelivery(); + } + + /** + * {@inheritDoc} + */ + public function getRequestPayload() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRequestPayload', []); + + return parent::getRequestPayload(); + } + + /** + * {@inheritDoc} + */ + public function getResponsePayload() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getResponsePayload', []); + + return parent::getResponsePayload(); + } + + /** + * {@inheritDoc} + */ + public function getStatusCode() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatusCode', []); + + return parent::getStatusCode(); + } + + /** + * {@inheritDoc} + */ + public function getResponseHeaders() + { + + $this->__initializer__ && $this->__initializer__->__invoke($this, 'getResponseHeaders', []); + + return parent::getResponseHeaders(); + } + +}