__initializer__ = $initializer; $this->__cloner__ = $cloner; } /** * * @return array */ public function __sleep() { if ($this->__isInitialized__) { return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'databoxId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'recordId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'flock', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'work', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'workOn', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'commitId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'assetId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'info', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'payload', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'published', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'finished', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'status']; } return ['__isInitialized__', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'id', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'databoxId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'recordId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'flock', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'work', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'workOn', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'commitId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'assetId', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'info', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'payload', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'created', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'published', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'finished', '' . "\0" . 'Alchemy\\Phrasea\\Model\\Entities\\WorkerRunningJob' . "\0" . 'status']; } /** * */ public function __wakeup() { if ( ! $this->__isInitialized__) { $this->__initializer__ = function (WorkerRunningJob $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 setDataboxId($databoxId) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDataboxId', [$databoxId]); return parent::setDataboxId($databoxId); } /** * {@inheritDoc} */ public function getDataboxId() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDataboxId', []); return parent::getDataboxId(); } /** * {@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 getFlock() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFlock', []); return parent::getFlock(); } /** * {@inheritDoc} */ public function setFlock($flock) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFlock', [$flock]); return parent::setFlock($flock); } /** * {@inheritDoc} */ public function setWork($work) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setWork', [$work]); return parent::setWork($work); } /** * {@inheritDoc} */ public function getWork() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWork', []); return parent::getWork(); } /** * {@inheritDoc} */ public function setWorkOn($workOn) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setWorkOn', [$workOn]); return parent::setWorkOn($workOn); } /** * {@inheritDoc} */ public function getWorkOn() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWorkOn', []); return parent::getWorkOn(); } /** * {@inheritDoc} */ public function setCommitId($commitId) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCommitId', [$commitId]); return parent::setCommitId($commitId); } /** * {@inheritDoc} */ public function getCommitId() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCommitId', []); return parent::getCommitId(); } /** * {@inheritDoc} */ public function setAssetId($assetId) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAssetId', [$assetId]); return parent::setAssetId($assetId); } /** * {@inheritDoc} */ public function getAssetId() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAssetId', []); return parent::getAssetId(); } /** * {@inheritDoc} */ public function setInfo($info) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setInfo', [$info]); return parent::setInfo($info); } /** * {@inheritDoc} */ public function getInfo() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getInfo', []); return parent::getInfo(); } /** * {@inheritDoc} */ public function setPayload(array $payload) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPayload', [$payload]); return parent::setPayload($payload); } /** * {@inheritDoc} */ public function getPayload() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPayload', []); return parent::getPayload(); } /** * {@inheritDoc} */ public function getCreated() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', []); return parent::getCreated(); } /** * {@inheritDoc} */ public function setPublished(\DateTime $published) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPublished', [$published]); return parent::setPublished($published); } /** * {@inheritDoc} */ public function getPublished() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPublished', []); return parent::getPublished(); } /** * {@inheritDoc} */ public function setFinished(\DateTime $finished) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFinished', [$finished]); return parent::setFinished($finished); } /** * {@inheritDoc} */ public function getFinished() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFinished', []); return parent::getFinished(); } /** * {@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(); } }