__CG__MailPoetEntitiesCustomFieldEntity.php
3 months ago
__CG__MailPoetEntitiesDynamicSegmentFilterEntity.php
2 years ago
__CG__MailPoetEntitiesFeatureFlagEntity.php
2 years ago
__CG__MailPoetEntitiesFormEntity.php
9 months ago
__CG__MailPoetEntitiesLogEntity.php
2 years ago
__CG__MailPoetEntitiesNewsletterEntity.php
3 months ago
__CG__MailPoetEntitiesNewsletterLinkEntity.php
2 years ago
__CG__MailPoetEntitiesNewsletterOptionEntity.php
2 years ago
__CG__MailPoetEntitiesNewsletterOptionFieldEntity.php
2 years ago
__CG__MailPoetEntitiesNewsletterPostEntity.php
2 years ago
__CG__MailPoetEntitiesNewsletterSegmentEntity.php
2 years ago
__CG__MailPoetEntitiesNewsletterTemplateEntity.php
2 years ago
__CG__MailPoetEntitiesScheduledTaskEntity.php
2 years ago
__CG__MailPoetEntitiesScheduledTaskSubscriberEntity.php
2 years ago
__CG__MailPoetEntitiesSegmentEntity.php
2 months ago
__CG__MailPoetEntitiesSendingQueueEntity.php
3 months ago
__CG__MailPoetEntitiesSettingEntity.php
2 years ago
__CG__MailPoetEntitiesStatisticsBounceEntity.php
2 years ago
__CG__MailPoetEntitiesStatisticsClickEntity.php
2 years ago
__CG__MailPoetEntitiesStatisticsFormEntity.php
2 years ago
__CG__MailPoetEntitiesStatisticsNewsletterEntity.php
2 years ago
__CG__MailPoetEntitiesStatisticsOpenEntity.php
2 years ago
__CG__MailPoetEntitiesStatisticsUnsubscribeEntity.php
3 months ago
__CG__MailPoetEntitiesStatisticsWooCommercePurchaseEntity.php
2 years ago
__CG__MailPoetEntitiesStatsNotificationEntity.php
2 years ago
__CG__MailPoetEntitiesSubscriberCustomFieldEntity.php
2 years ago
__CG__MailPoetEntitiesSubscriberEntity.php
3 weeks ago
__CG__MailPoetEntitiesSubscriberIPEntity.php
2 years ago
__CG__MailPoetEntitiesSubscriberSegmentEntity.php
2 years ago
__CG__MailPoetEntitiesSubscriberTagEntity.php
2 years ago
__CG__MailPoetEntitiesTagEntity.php
2 years ago
__CG__MailPoetEntitiesUserAgentEntity.php
2 years ago
__CG__MailPoetEntitiesUserFlagEntity.php
2 years ago
__CG__MailPoetEntitiesWpPostEntity.php
2 years ago
index.php
3 years ago
__CG__MailPoetEntitiesSendingQueueEntity.php
452 lines
| 1 | <?php |
| 2 | |
| 3 | namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities; |
| 4 | |
| 5 | if (!defined('ABSPATH')) exit; |
| 6 | |
| 7 | |
| 8 | |
| 9 | /** |
| 10 | * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR |
| 11 | */ |
| 12 | class SendingQueueEntity extends \MailPoet\Entities\SendingQueueEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy |
| 13 | { |
| 14 | /** |
| 15 | * @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with |
| 16 | * three parameters, being respectively the proxy object to be initialized, the method that triggered the |
| 17 | * initialization process and an array of ordered parameters that were passed to that method. |
| 18 | * |
| 19 | * @see \Doctrine\Common\Proxy\Proxy::__setInitializer |
| 20 | */ |
| 21 | public $__initializer__; |
| 22 | |
| 23 | /** |
| 24 | * @var \Closure the callback responsible of loading properties that need to be copied in the cloned object |
| 25 | * |
| 26 | * @see \Doctrine\Common\Proxy\Proxy::__setCloner |
| 27 | */ |
| 28 | public $__cloner__; |
| 29 | |
| 30 | /** |
| 31 | * @var boolean flag indicating if this object was already initialized |
| 32 | * |
| 33 | * @see \Doctrine\Persistence\Proxy::__isInitialized |
| 34 | */ |
| 35 | public $__isInitialized__ = false; |
| 36 | |
| 37 | /** |
| 38 | * @var array<string, null> properties to be lazy loaded, indexed by property name |
| 39 | */ |
| 40 | public static $lazyPropertiesNames = array ( |
| 41 | ); |
| 42 | |
| 43 | /** |
| 44 | * @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names |
| 45 | * |
| 46 | * @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties |
| 47 | */ |
| 48 | public static $lazyPropertiesDefaults = array ( |
| 49 | ); |
| 50 | |
| 51 | |
| 52 | |
| 53 | public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null) |
| 54 | { |
| 55 | |
| 56 | $this->__initializer__ = $initializer; |
| 57 | $this->__cloner__ = $cloner; |
| 58 | } |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | /** |
| 67 | * |
| 68 | * @return array |
| 69 | */ |
| 70 | public function __sleep() |
| 71 | { |
| 72 | if ($this->__isInitialized__) { |
| 73 | return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'newsletterRenderedBody', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'newsletterRenderedSubject', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'countTotal', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'countProcessed', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'countToProcess', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'meta', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'task', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'updatedAt', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'deletedAt']; |
| 74 | } |
| 75 | |
| 76 | return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'newsletterRenderedBody', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'newsletterRenderedSubject', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'countTotal', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'countProcessed', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'countToProcess', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'meta', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'task', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'updatedAt', '' . "\0" . 'MailPoet\\Entities\\SendingQueueEntity' . "\0" . 'deletedAt']; |
| 77 | } |
| 78 | |
| 79 | /** |
| 80 | * |
| 81 | */ |
| 82 | public function __wakeup() |
| 83 | { |
| 84 | if ( ! $this->__isInitialized__) { |
| 85 | $this->__initializer__ = function (SendingQueueEntity $proxy) { |
| 86 | $proxy->__setInitializer(null); |
| 87 | $proxy->__setCloner(null); |
| 88 | |
| 89 | $existingProperties = get_object_vars($proxy); |
| 90 | |
| 91 | foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) { |
| 92 | if ( ! array_key_exists($property, $existingProperties)) { |
| 93 | $proxy->$property = $defaultValue; |
| 94 | } |
| 95 | } |
| 96 | }; |
| 97 | |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | /** |
| 102 | * |
| 103 | */ |
| 104 | public function __clone() |
| 105 | { |
| 106 | $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); |
| 107 | } |
| 108 | |
| 109 | /** |
| 110 | * Forces initialization of the proxy |
| 111 | */ |
| 112 | public function __load(): void |
| 113 | { |
| 114 | $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); |
| 115 | } |
| 116 | |
| 117 | /** |
| 118 | * {@inheritDoc} |
| 119 | * @internal generated method: use only when explicitly handling proxy specific loading logic |
| 120 | */ |
| 121 | public function __isInitialized(): bool |
| 122 | { |
| 123 | return $this->__isInitialized__; |
| 124 | } |
| 125 | |
| 126 | /** |
| 127 | * {@inheritDoc} |
| 128 | * @internal generated method: use only when explicitly handling proxy specific loading logic |
| 129 | */ |
| 130 | public function __setInitialized($initialized): void |
| 131 | { |
| 132 | $this->__isInitialized__ = $initialized; |
| 133 | } |
| 134 | |
| 135 | /** |
| 136 | * {@inheritDoc} |
| 137 | * @internal generated method: use only when explicitly handling proxy specific loading logic |
| 138 | */ |
| 139 | public function __setInitializer(?\Closure $initializer = null): void |
| 140 | { |
| 141 | $this->__initializer__ = $initializer; |
| 142 | } |
| 143 | |
| 144 | /** |
| 145 | * {@inheritDoc} |
| 146 | * @internal generated method: use only when explicitly handling proxy specific loading logic |
| 147 | */ |
| 148 | public function __getInitializer(): ?\Closure |
| 149 | { |
| 150 | return $this->__initializer__; |
| 151 | } |
| 152 | |
| 153 | /** |
| 154 | * {@inheritDoc} |
| 155 | * @internal generated method: use only when explicitly handling proxy specific loading logic |
| 156 | */ |
| 157 | public function __setCloner(?\Closure $cloner = null): void |
| 158 | { |
| 159 | $this->__cloner__ = $cloner; |
| 160 | } |
| 161 | |
| 162 | /** |
| 163 | * {@inheritDoc} |
| 164 | * @internal generated method: use only when explicitly handling proxy specific cloning logic |
| 165 | */ |
| 166 | public function __getCloner(): ?\Closure |
| 167 | { |
| 168 | return $this->__cloner__; |
| 169 | } |
| 170 | |
| 171 | /** |
| 172 | * {@inheritDoc} |
| 173 | * @internal generated method: use only when explicitly handling proxy specific loading logic |
| 174 | * @deprecated no longer in use - generated code now relies on internal components rather than generated public API |
| 175 | * @static |
| 176 | */ |
| 177 | public function __getLazyProperties(): array |
| 178 | { |
| 179 | return self::$lazyPropertiesDefaults; |
| 180 | } |
| 181 | |
| 182 | |
| 183 | /** |
| 184 | * {@inheritDoc} |
| 185 | */ |
| 186 | public function getNewsletterRenderedBody() |
| 187 | { |
| 188 | |
| 189 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletterRenderedBody', []); |
| 190 | |
| 191 | return parent::getNewsletterRenderedBody(); |
| 192 | } |
| 193 | |
| 194 | /** |
| 195 | * {@inheritDoc} |
| 196 | */ |
| 197 | public function setNewsletterRenderedBody($newsletterRenderedBody) |
| 198 | { |
| 199 | |
| 200 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNewsletterRenderedBody', [$newsletterRenderedBody]); |
| 201 | |
| 202 | return parent::setNewsletterRenderedBody($newsletterRenderedBody); |
| 203 | } |
| 204 | |
| 205 | /** |
| 206 | * {@inheritDoc} |
| 207 | */ |
| 208 | public function getNewsletterRenderedSubject() |
| 209 | { |
| 210 | |
| 211 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletterRenderedSubject', []); |
| 212 | |
| 213 | return parent::getNewsletterRenderedSubject(); |
| 214 | } |
| 215 | |
| 216 | /** |
| 217 | * {@inheritDoc} |
| 218 | */ |
| 219 | public function setNewsletterRenderedSubject($newsletterRenderedSubject) |
| 220 | { |
| 221 | |
| 222 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNewsletterRenderedSubject', [$newsletterRenderedSubject]); |
| 223 | |
| 224 | return parent::setNewsletterRenderedSubject($newsletterRenderedSubject); |
| 225 | } |
| 226 | |
| 227 | /** |
| 228 | * {@inheritDoc} |
| 229 | */ |
| 230 | public function getCountTotal() |
| 231 | { |
| 232 | |
| 233 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCountTotal', []); |
| 234 | |
| 235 | return parent::getCountTotal(); |
| 236 | } |
| 237 | |
| 238 | /** |
| 239 | * {@inheritDoc} |
| 240 | */ |
| 241 | public function setCountTotal($countTotal) |
| 242 | { |
| 243 | |
| 244 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCountTotal', [$countTotal]); |
| 245 | |
| 246 | return parent::setCountTotal($countTotal); |
| 247 | } |
| 248 | |
| 249 | /** |
| 250 | * {@inheritDoc} |
| 251 | */ |
| 252 | public function getCountProcessed() |
| 253 | { |
| 254 | |
| 255 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCountProcessed', []); |
| 256 | |
| 257 | return parent::getCountProcessed(); |
| 258 | } |
| 259 | |
| 260 | /** |
| 261 | * {@inheritDoc} |
| 262 | */ |
| 263 | public function setCountProcessed($countProcessed) |
| 264 | { |
| 265 | |
| 266 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCountProcessed', [$countProcessed]); |
| 267 | |
| 268 | return parent::setCountProcessed($countProcessed); |
| 269 | } |
| 270 | |
| 271 | /** |
| 272 | * {@inheritDoc} |
| 273 | */ |
| 274 | public function getCountToProcess() |
| 275 | { |
| 276 | |
| 277 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCountToProcess', []); |
| 278 | |
| 279 | return parent::getCountToProcess(); |
| 280 | } |
| 281 | |
| 282 | /** |
| 283 | * {@inheritDoc} |
| 284 | */ |
| 285 | public function setCountToProcess($countToProcess) |
| 286 | { |
| 287 | |
| 288 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCountToProcess', [$countToProcess]); |
| 289 | |
| 290 | return parent::setCountToProcess($countToProcess); |
| 291 | } |
| 292 | |
| 293 | /** |
| 294 | * {@inheritDoc} |
| 295 | */ |
| 296 | public function getMeta() |
| 297 | { |
| 298 | |
| 299 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMeta', []); |
| 300 | |
| 301 | return parent::getMeta(); |
| 302 | } |
| 303 | |
| 304 | /** |
| 305 | * {@inheritDoc} |
| 306 | */ |
| 307 | public function setMeta($meta) |
| 308 | { |
| 309 | |
| 310 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setMeta', [$meta]); |
| 311 | |
| 312 | return parent::setMeta($meta); |
| 313 | } |
| 314 | |
| 315 | /** |
| 316 | * {@inheritDoc} |
| 317 | */ |
| 318 | public function getTask() |
| 319 | { |
| 320 | |
| 321 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTask', []); |
| 322 | |
| 323 | return parent::getTask(); |
| 324 | } |
| 325 | |
| 326 | /** |
| 327 | * {@inheritDoc} |
| 328 | */ |
| 329 | public function setTask(\MailPoet\Entities\ScheduledTaskEntity $task) |
| 330 | { |
| 331 | |
| 332 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTask', [$task]); |
| 333 | |
| 334 | return parent::setTask($task); |
| 335 | } |
| 336 | |
| 337 | /** |
| 338 | * {@inheritDoc} |
| 339 | */ |
| 340 | public function getNewsletter() |
| 341 | { |
| 342 | |
| 343 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletter', []); |
| 344 | |
| 345 | return parent::getNewsletter(); |
| 346 | } |
| 347 | |
| 348 | /** |
| 349 | * {@inheritDoc} |
| 350 | */ |
| 351 | public function setNewsletter(\MailPoet\Entities\NewsletterEntity $newsletter) |
| 352 | { |
| 353 | |
| 354 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNewsletter', [$newsletter]); |
| 355 | |
| 356 | return parent::setNewsletter($newsletter); |
| 357 | } |
| 358 | |
| 359 | /** |
| 360 | * {@inheritDoc} |
| 361 | */ |
| 362 | public function getId() |
| 363 | { |
| 364 | if ($this->__isInitialized__ === false) { |
| 365 | return (int) parent::getId(); |
| 366 | } |
| 367 | |
| 368 | |
| 369 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); |
| 370 | |
| 371 | return parent::getId(); |
| 372 | } |
| 373 | |
| 374 | /** |
| 375 | * {@inheritDoc} |
| 376 | */ |
| 377 | public function setId($id) |
| 378 | { |
| 379 | |
| 380 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]); |
| 381 | |
| 382 | return parent::setId($id); |
| 383 | } |
| 384 | |
| 385 | /** |
| 386 | * {@inheritDoc} |
| 387 | */ |
| 388 | public function getCreatedAt(): ?\DateTimeInterface |
| 389 | { |
| 390 | |
| 391 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []); |
| 392 | |
| 393 | return parent::getCreatedAt(); |
| 394 | } |
| 395 | |
| 396 | /** |
| 397 | * {@inheritDoc} |
| 398 | */ |
| 399 | public function setCreatedAt(\DateTimeInterface $createdAt): void |
| 400 | { |
| 401 | |
| 402 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]); |
| 403 | |
| 404 | parent::setCreatedAt($createdAt); |
| 405 | } |
| 406 | |
| 407 | /** |
| 408 | * {@inheritDoc} |
| 409 | */ |
| 410 | public function getUpdatedAt() |
| 411 | { |
| 412 | |
| 413 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []); |
| 414 | |
| 415 | return parent::getUpdatedAt(); |
| 416 | } |
| 417 | |
| 418 | /** |
| 419 | * {@inheritDoc} |
| 420 | */ |
| 421 | public function setUpdatedAt(\DateTimeInterface $updatedAt) |
| 422 | { |
| 423 | |
| 424 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]); |
| 425 | |
| 426 | return parent::setUpdatedAt($updatedAt); |
| 427 | } |
| 428 | |
| 429 | /** |
| 430 | * {@inheritDoc} |
| 431 | */ |
| 432 | public function getDeletedAt() |
| 433 | { |
| 434 | |
| 435 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeletedAt', []); |
| 436 | |
| 437 | return parent::getDeletedAt(); |
| 438 | } |
| 439 | |
| 440 | /** |
| 441 | * {@inheritDoc} |
| 442 | */ |
| 443 | public function setDeletedAt($deletedAt) |
| 444 | { |
| 445 | |
| 446 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeletedAt', [$deletedAt]); |
| 447 | |
| 448 | return parent::setDeletedAt($deletedAt); |
| 449 | } |
| 450 | |
| 451 | } |
| 452 |