__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
3 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
1 month 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__MailPoetEntitiesNewsletterEntity.php
872 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 NewsletterEntity extends \MailPoet\Entities\NewsletterEntity 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\\NewsletterEntity' . "\0" . 'hash', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'subject', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'type', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'senderAddress', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'senderName', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'status', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'replyToAddress', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'replyToName', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'preheader', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'body', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'sentAt', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'unsubscribeToken', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'gaCampaign', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'parent', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'children', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'newsletterSegments', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'options', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'queues', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'wpPost', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'updatedAt', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'deletedAt']; |
| 74 | } |
| 75 | |
| 76 | return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'hash', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'subject', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'type', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'senderAddress', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'senderName', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'status', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'replyToAddress', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'replyToName', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'preheader', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'body', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'sentAt', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'unsubscribeToken', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'gaCampaign', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'parent', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'children', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'newsletterSegments', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'options', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'queues', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'wpPost', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'updatedAt', '' . "\0" . 'MailPoet\\Entities\\NewsletterEntity' . "\0" . 'deletedAt']; |
| 77 | } |
| 78 | |
| 79 | /** |
| 80 | * |
| 81 | */ |
| 82 | public function __wakeup() |
| 83 | { |
| 84 | if ( ! $this->__isInitialized__) { |
| 85 | $this->__initializer__ = function (NewsletterEntity $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 | * {@inheritDoc} |
| 103 | */ |
| 104 | public function __clone() |
| 105 | { |
| 106 | $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []); |
| 107 | |
| 108 | parent::__clone(); |
| 109 | } |
| 110 | |
| 111 | /** |
| 112 | * Forces initialization of the proxy |
| 113 | */ |
| 114 | public function __load(): void |
| 115 | { |
| 116 | $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); |
| 117 | } |
| 118 | |
| 119 | /** |
| 120 | * {@inheritDoc} |
| 121 | * @internal generated method: use only when explicitly handling proxy specific loading logic |
| 122 | */ |
| 123 | public function __isInitialized(): bool |
| 124 | { |
| 125 | return $this->__isInitialized__; |
| 126 | } |
| 127 | |
| 128 | /** |
| 129 | * {@inheritDoc} |
| 130 | * @internal generated method: use only when explicitly handling proxy specific loading logic |
| 131 | */ |
| 132 | public function __setInitialized($initialized): void |
| 133 | { |
| 134 | $this->__isInitialized__ = $initialized; |
| 135 | } |
| 136 | |
| 137 | /** |
| 138 | * {@inheritDoc} |
| 139 | * @internal generated method: use only when explicitly handling proxy specific loading logic |
| 140 | */ |
| 141 | public function __setInitializer(?\Closure $initializer = null): void |
| 142 | { |
| 143 | $this->__initializer__ = $initializer; |
| 144 | } |
| 145 | |
| 146 | /** |
| 147 | * {@inheritDoc} |
| 148 | * @internal generated method: use only when explicitly handling proxy specific loading logic |
| 149 | */ |
| 150 | public function __getInitializer(): ?\Closure |
| 151 | { |
| 152 | return $this->__initializer__; |
| 153 | } |
| 154 | |
| 155 | /** |
| 156 | * {@inheritDoc} |
| 157 | * @internal generated method: use only when explicitly handling proxy specific loading logic |
| 158 | */ |
| 159 | public function __setCloner(?\Closure $cloner = null): void |
| 160 | { |
| 161 | $this->__cloner__ = $cloner; |
| 162 | } |
| 163 | |
| 164 | /** |
| 165 | * {@inheritDoc} |
| 166 | * @internal generated method: use only when explicitly handling proxy specific cloning logic |
| 167 | */ |
| 168 | public function __getCloner(): ?\Closure |
| 169 | { |
| 170 | return $this->__cloner__; |
| 171 | } |
| 172 | |
| 173 | /** |
| 174 | * {@inheritDoc} |
| 175 | * @internal generated method: use only when explicitly handling proxy specific loading logic |
| 176 | * @deprecated no longer in use - generated code now relies on internal components rather than generated public API |
| 177 | * @static |
| 178 | */ |
| 179 | public function __getLazyProperties(): array |
| 180 | { |
| 181 | return self::$lazyPropertiesDefaults; |
| 182 | } |
| 183 | |
| 184 | |
| 185 | /** |
| 186 | * {@inheritDoc} |
| 187 | */ |
| 188 | public function getHash() |
| 189 | { |
| 190 | |
| 191 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getHash', []); |
| 192 | |
| 193 | return parent::getHash(); |
| 194 | } |
| 195 | |
| 196 | /** |
| 197 | * {@inheritDoc} |
| 198 | */ |
| 199 | public function setHash($hash) |
| 200 | { |
| 201 | |
| 202 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setHash', [$hash]); |
| 203 | |
| 204 | return parent::setHash($hash); |
| 205 | } |
| 206 | |
| 207 | /** |
| 208 | * {@inheritDoc} |
| 209 | */ |
| 210 | public function getSubject() |
| 211 | { |
| 212 | |
| 213 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubject', []); |
| 214 | |
| 215 | return parent::getSubject(); |
| 216 | } |
| 217 | |
| 218 | /** |
| 219 | * {@inheritDoc} |
| 220 | */ |
| 221 | public function setSubject($subject) |
| 222 | { |
| 223 | |
| 224 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSubject', [$subject]); |
| 225 | |
| 226 | return parent::setSubject($subject); |
| 227 | } |
| 228 | |
| 229 | /** |
| 230 | * {@inheritDoc} |
| 231 | */ |
| 232 | public function getType() |
| 233 | { |
| 234 | |
| 235 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getType', []); |
| 236 | |
| 237 | return parent::getType(); |
| 238 | } |
| 239 | |
| 240 | /** |
| 241 | * {@inheritDoc} |
| 242 | */ |
| 243 | public function setType($type) |
| 244 | { |
| 245 | |
| 246 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setType', [$type]); |
| 247 | |
| 248 | return parent::setType($type); |
| 249 | } |
| 250 | |
| 251 | /** |
| 252 | * {@inheritDoc} |
| 253 | */ |
| 254 | public function getSenderAddress() |
| 255 | { |
| 256 | |
| 257 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSenderAddress', []); |
| 258 | |
| 259 | return parent::getSenderAddress(); |
| 260 | } |
| 261 | |
| 262 | /** |
| 263 | * {@inheritDoc} |
| 264 | */ |
| 265 | public function setSenderAddress($senderAddress) |
| 266 | { |
| 267 | |
| 268 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSenderAddress', [$senderAddress]); |
| 269 | |
| 270 | return parent::setSenderAddress($senderAddress); |
| 271 | } |
| 272 | |
| 273 | /** |
| 274 | * {@inheritDoc} |
| 275 | */ |
| 276 | public function getSenderName() |
| 277 | { |
| 278 | |
| 279 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSenderName', []); |
| 280 | |
| 281 | return parent::getSenderName(); |
| 282 | } |
| 283 | |
| 284 | /** |
| 285 | * {@inheritDoc} |
| 286 | */ |
| 287 | public function setSenderName($senderName) |
| 288 | { |
| 289 | |
| 290 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSenderName', [$senderName]); |
| 291 | |
| 292 | return parent::setSenderName($senderName); |
| 293 | } |
| 294 | |
| 295 | /** |
| 296 | * {@inheritDoc} |
| 297 | */ |
| 298 | public function getStatus() |
| 299 | { |
| 300 | |
| 301 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatus', []); |
| 302 | |
| 303 | return parent::getStatus(); |
| 304 | } |
| 305 | |
| 306 | /** |
| 307 | * {@inheritDoc} |
| 308 | */ |
| 309 | public function setStatus($status) |
| 310 | { |
| 311 | |
| 312 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setStatus', [$status]); |
| 313 | |
| 314 | return parent::setStatus($status); |
| 315 | } |
| 316 | |
| 317 | /** |
| 318 | * {@inheritDoc} |
| 319 | */ |
| 320 | public function getReplyToAddress() |
| 321 | { |
| 322 | |
| 323 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getReplyToAddress', []); |
| 324 | |
| 325 | return parent::getReplyToAddress(); |
| 326 | } |
| 327 | |
| 328 | /** |
| 329 | * {@inheritDoc} |
| 330 | */ |
| 331 | public function setReplyToAddress($replyToAddress) |
| 332 | { |
| 333 | |
| 334 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setReplyToAddress', [$replyToAddress]); |
| 335 | |
| 336 | return parent::setReplyToAddress($replyToAddress); |
| 337 | } |
| 338 | |
| 339 | /** |
| 340 | * {@inheritDoc} |
| 341 | */ |
| 342 | public function getReplyToName() |
| 343 | { |
| 344 | |
| 345 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getReplyToName', []); |
| 346 | |
| 347 | return parent::getReplyToName(); |
| 348 | } |
| 349 | |
| 350 | /** |
| 351 | * {@inheritDoc} |
| 352 | */ |
| 353 | public function setReplyToName($replyToName) |
| 354 | { |
| 355 | |
| 356 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setReplyToName', [$replyToName]); |
| 357 | |
| 358 | return parent::setReplyToName($replyToName); |
| 359 | } |
| 360 | |
| 361 | /** |
| 362 | * {@inheritDoc} |
| 363 | */ |
| 364 | public function getPreheader() |
| 365 | { |
| 366 | |
| 367 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPreheader', []); |
| 368 | |
| 369 | return parent::getPreheader(); |
| 370 | } |
| 371 | |
| 372 | /** |
| 373 | * {@inheritDoc} |
| 374 | */ |
| 375 | public function setPreheader($preheader) |
| 376 | { |
| 377 | |
| 378 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPreheader', [$preheader]); |
| 379 | |
| 380 | return parent::setPreheader($preheader); |
| 381 | } |
| 382 | |
| 383 | /** |
| 384 | * {@inheritDoc} |
| 385 | */ |
| 386 | public function getBody() |
| 387 | { |
| 388 | |
| 389 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getBody', []); |
| 390 | |
| 391 | return parent::getBody(); |
| 392 | } |
| 393 | |
| 394 | /** |
| 395 | * {@inheritDoc} |
| 396 | */ |
| 397 | public function setBody($body) |
| 398 | { |
| 399 | |
| 400 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setBody', [$body]); |
| 401 | |
| 402 | return parent::setBody($body); |
| 403 | } |
| 404 | |
| 405 | /** |
| 406 | * {@inheritDoc} |
| 407 | */ |
| 408 | public function getSentAt() |
| 409 | { |
| 410 | |
| 411 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSentAt', []); |
| 412 | |
| 413 | return parent::getSentAt(); |
| 414 | } |
| 415 | |
| 416 | /** |
| 417 | * {@inheritDoc} |
| 418 | */ |
| 419 | public function setSentAt($sentAt) |
| 420 | { |
| 421 | |
| 422 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSentAt', [$sentAt]); |
| 423 | |
| 424 | return parent::setSentAt($sentAt); |
| 425 | } |
| 426 | |
| 427 | /** |
| 428 | * {@inheritDoc} |
| 429 | */ |
| 430 | public function getUnsubscribeToken() |
| 431 | { |
| 432 | |
| 433 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUnsubscribeToken', []); |
| 434 | |
| 435 | return parent::getUnsubscribeToken(); |
| 436 | } |
| 437 | |
| 438 | /** |
| 439 | * {@inheritDoc} |
| 440 | */ |
| 441 | public function getGaCampaign() |
| 442 | { |
| 443 | |
| 444 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getGaCampaign', []); |
| 445 | |
| 446 | return parent::getGaCampaign(); |
| 447 | } |
| 448 | |
| 449 | /** |
| 450 | * {@inheritDoc} |
| 451 | */ |
| 452 | public function setGaCampaign($gaCampaign) |
| 453 | { |
| 454 | |
| 455 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setGaCampaign', [$gaCampaign]); |
| 456 | |
| 457 | return parent::setGaCampaign($gaCampaign); |
| 458 | } |
| 459 | |
| 460 | /** |
| 461 | * {@inheritDoc} |
| 462 | */ |
| 463 | public function setUnsubscribeToken($unsubscribeToken) |
| 464 | { |
| 465 | |
| 466 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUnsubscribeToken', [$unsubscribeToken]); |
| 467 | |
| 468 | return parent::setUnsubscribeToken($unsubscribeToken); |
| 469 | } |
| 470 | |
| 471 | /** |
| 472 | * {@inheritDoc} |
| 473 | */ |
| 474 | public function getParent() |
| 475 | { |
| 476 | |
| 477 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getParent', []); |
| 478 | |
| 479 | return parent::getParent(); |
| 480 | } |
| 481 | |
| 482 | /** |
| 483 | * {@inheritDoc} |
| 484 | */ |
| 485 | public function setParent($parent) |
| 486 | { |
| 487 | |
| 488 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setParent', [$parent]); |
| 489 | |
| 490 | return parent::setParent($parent); |
| 491 | } |
| 492 | |
| 493 | /** |
| 494 | * {@inheritDoc} |
| 495 | */ |
| 496 | public function getChildren() |
| 497 | { |
| 498 | |
| 499 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getChildren', []); |
| 500 | |
| 501 | return parent::getChildren(); |
| 502 | } |
| 503 | |
| 504 | /** |
| 505 | * {@inheritDoc} |
| 506 | */ |
| 507 | public function getNewsletterSegments() |
| 508 | { |
| 509 | |
| 510 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletterSegments', []); |
| 511 | |
| 512 | return parent::getNewsletterSegments(); |
| 513 | } |
| 514 | |
| 515 | /** |
| 516 | * {@inheritDoc} |
| 517 | */ |
| 518 | public function getSegmentIds() |
| 519 | { |
| 520 | |
| 521 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSegmentIds', []); |
| 522 | |
| 523 | return parent::getSegmentIds(); |
| 524 | } |
| 525 | |
| 526 | /** |
| 527 | * {@inheritDoc} |
| 528 | */ |
| 529 | public function getOptions() |
| 530 | { |
| 531 | |
| 532 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getOptions', []); |
| 533 | |
| 534 | return parent::getOptions(); |
| 535 | } |
| 536 | |
| 537 | /** |
| 538 | * {@inheritDoc} |
| 539 | */ |
| 540 | public function getOption(string $name): ?\MailPoet\Entities\NewsletterOptionEntity |
| 541 | { |
| 542 | |
| 543 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getOption', [$name]); |
| 544 | |
| 545 | return parent::getOption($name); |
| 546 | } |
| 547 | |
| 548 | /** |
| 549 | * {@inheritDoc} |
| 550 | */ |
| 551 | public function getOptionsAsArray(): array |
| 552 | { |
| 553 | |
| 554 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getOptionsAsArray', []); |
| 555 | |
| 556 | return parent::getOptionsAsArray(); |
| 557 | } |
| 558 | |
| 559 | /** |
| 560 | * {@inheritDoc} |
| 561 | */ |
| 562 | public function getOptionValue(string $name) |
| 563 | { |
| 564 | |
| 565 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getOptionValue', [$name]); |
| 566 | |
| 567 | return parent::getOptionValue($name); |
| 568 | } |
| 569 | |
| 570 | /** |
| 571 | * {@inheritDoc} |
| 572 | */ |
| 573 | public function getFilterSegmentId(): ?int |
| 574 | { |
| 575 | |
| 576 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFilterSegmentId', []); |
| 577 | |
| 578 | return parent::getFilterSegmentId(); |
| 579 | } |
| 580 | |
| 581 | /** |
| 582 | * {@inheritDoc} |
| 583 | */ |
| 584 | public function getQueues() |
| 585 | { |
| 586 | |
| 587 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getQueues', []); |
| 588 | |
| 589 | return parent::getQueues(); |
| 590 | } |
| 591 | |
| 592 | /** |
| 593 | * {@inheritDoc} |
| 594 | */ |
| 595 | public function getLatestQueue(): ?\MailPoet\Entities\SendingQueueEntity |
| 596 | { |
| 597 | |
| 598 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLatestQueue', []); |
| 599 | |
| 600 | return parent::getLatestQueue(); |
| 601 | } |
| 602 | |
| 603 | /** |
| 604 | * {@inheritDoc} |
| 605 | */ |
| 606 | public function getLastUpdatedQueue(): ?\MailPoet\Entities\SendingQueueEntity |
| 607 | { |
| 608 | |
| 609 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastUpdatedQueue', []); |
| 610 | |
| 611 | return parent::getLastUpdatedQueue(); |
| 612 | } |
| 613 | |
| 614 | /** |
| 615 | * {@inheritDoc} |
| 616 | */ |
| 617 | public function getUnfinishedQueues(): \MailPoetVendor\Doctrine\Common\Collections\Collection |
| 618 | { |
| 619 | |
| 620 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUnfinishedQueues', []); |
| 621 | |
| 622 | return parent::getUnfinishedQueues(); |
| 623 | } |
| 624 | |
| 625 | /** |
| 626 | * {@inheritDoc} |
| 627 | */ |
| 628 | public function getGlobalStyle(string $category, string $style): ?string |
| 629 | { |
| 630 | |
| 631 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getGlobalStyle', [$category, $style]); |
| 632 | |
| 633 | return parent::getGlobalStyle($category, $style); |
| 634 | } |
| 635 | |
| 636 | /** |
| 637 | * {@inheritDoc} |
| 638 | */ |
| 639 | public function setGlobalStyle(string $category, string $style, $value): void |
| 640 | { |
| 641 | |
| 642 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setGlobalStyle', [$category, $style, $value]); |
| 643 | |
| 644 | parent::setGlobalStyle($category, $style, $value); |
| 645 | } |
| 646 | |
| 647 | /** |
| 648 | * {@inheritDoc} |
| 649 | */ |
| 650 | public function getProcessedAt(): ?\DateTimeInterface |
| 651 | { |
| 652 | |
| 653 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getProcessedAt', []); |
| 654 | |
| 655 | return parent::getProcessedAt(); |
| 656 | } |
| 657 | |
| 658 | /** |
| 659 | * {@inheritDoc} |
| 660 | */ |
| 661 | public function getContent(): string |
| 662 | { |
| 663 | |
| 664 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getContent', []); |
| 665 | |
| 666 | return parent::getContent(); |
| 667 | } |
| 668 | |
| 669 | /** |
| 670 | * {@inheritDoc} |
| 671 | */ |
| 672 | public function canBeSetSent(): bool |
| 673 | { |
| 674 | |
| 675 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'canBeSetSent', []); |
| 676 | |
| 677 | return parent::canBeSetSent(); |
| 678 | } |
| 679 | |
| 680 | /** |
| 681 | * {@inheritDoc} |
| 682 | */ |
| 683 | public function canBeSetActive(): bool |
| 684 | { |
| 685 | |
| 686 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'canBeSetActive', []); |
| 687 | |
| 688 | return parent::canBeSetActive(); |
| 689 | } |
| 690 | |
| 691 | /** |
| 692 | * {@inheritDoc} |
| 693 | */ |
| 694 | public function getWpPost(): ?\MailPoet\Entities\WpPostEntity |
| 695 | { |
| 696 | |
| 697 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWpPost', []); |
| 698 | |
| 699 | return parent::getWpPost(); |
| 700 | } |
| 701 | |
| 702 | /** |
| 703 | * {@inheritDoc} |
| 704 | */ |
| 705 | public function setWpPost(?\MailPoet\Entities\WpPostEntity $wpPostEntity): void |
| 706 | { |
| 707 | |
| 708 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setWpPost', [$wpPostEntity]); |
| 709 | |
| 710 | parent::setWpPost($wpPostEntity); |
| 711 | } |
| 712 | |
| 713 | /** |
| 714 | * {@inheritDoc} |
| 715 | */ |
| 716 | public function getWpPostId(): ?int |
| 717 | { |
| 718 | |
| 719 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWpPostId', []); |
| 720 | |
| 721 | return parent::getWpPostId(); |
| 722 | } |
| 723 | |
| 724 | /** |
| 725 | * {@inheritDoc} |
| 726 | */ |
| 727 | public function getCampaignName(): ?string |
| 728 | { |
| 729 | |
| 730 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCampaignName', []); |
| 731 | |
| 732 | return parent::getCampaignName(); |
| 733 | } |
| 734 | |
| 735 | /** |
| 736 | * {@inheritDoc} |
| 737 | */ |
| 738 | public function getCampaignNameOrSubject(): string |
| 739 | { |
| 740 | |
| 741 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCampaignNameOrSubject', []); |
| 742 | |
| 743 | return parent::getCampaignNameOrSubject(); |
| 744 | } |
| 745 | |
| 746 | /** |
| 747 | * {@inheritDoc} |
| 748 | */ |
| 749 | public function isTransactional(): bool |
| 750 | { |
| 751 | |
| 752 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'isTransactional', []); |
| 753 | |
| 754 | return parent::isTransactional(); |
| 755 | } |
| 756 | |
| 757 | /** |
| 758 | * {@inheritDoc} |
| 759 | */ |
| 760 | public function isAutomation(): bool |
| 761 | { |
| 762 | |
| 763 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'isAutomation', []); |
| 764 | |
| 765 | return parent::isAutomation(); |
| 766 | } |
| 767 | |
| 768 | /** |
| 769 | * {@inheritDoc} |
| 770 | */ |
| 771 | public function isAutomationTransactional(): bool |
| 772 | { |
| 773 | |
| 774 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'isAutomationTransactional', []); |
| 775 | |
| 776 | return parent::isAutomationTransactional(); |
| 777 | } |
| 778 | |
| 779 | /** |
| 780 | * {@inheritDoc} |
| 781 | */ |
| 782 | public function getId() |
| 783 | { |
| 784 | if ($this->__isInitialized__ === false) { |
| 785 | return (int) parent::getId(); |
| 786 | } |
| 787 | |
| 788 | |
| 789 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); |
| 790 | |
| 791 | return parent::getId(); |
| 792 | } |
| 793 | |
| 794 | /** |
| 795 | * {@inheritDoc} |
| 796 | */ |
| 797 | public function setId($id) |
| 798 | { |
| 799 | |
| 800 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]); |
| 801 | |
| 802 | return parent::setId($id); |
| 803 | } |
| 804 | |
| 805 | /** |
| 806 | * {@inheritDoc} |
| 807 | */ |
| 808 | public function getCreatedAt(): ?\DateTimeInterface |
| 809 | { |
| 810 | |
| 811 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []); |
| 812 | |
| 813 | return parent::getCreatedAt(); |
| 814 | } |
| 815 | |
| 816 | /** |
| 817 | * {@inheritDoc} |
| 818 | */ |
| 819 | public function setCreatedAt(\DateTimeInterface $createdAt): void |
| 820 | { |
| 821 | |
| 822 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]); |
| 823 | |
| 824 | parent::setCreatedAt($createdAt); |
| 825 | } |
| 826 | |
| 827 | /** |
| 828 | * {@inheritDoc} |
| 829 | */ |
| 830 | public function getUpdatedAt() |
| 831 | { |
| 832 | |
| 833 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []); |
| 834 | |
| 835 | return parent::getUpdatedAt(); |
| 836 | } |
| 837 | |
| 838 | /** |
| 839 | * {@inheritDoc} |
| 840 | */ |
| 841 | public function setUpdatedAt(\DateTimeInterface $updatedAt) |
| 842 | { |
| 843 | |
| 844 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]); |
| 845 | |
| 846 | return parent::setUpdatedAt($updatedAt); |
| 847 | } |
| 848 | |
| 849 | /** |
| 850 | * {@inheritDoc} |
| 851 | */ |
| 852 | public function getDeletedAt() |
| 853 | { |
| 854 | |
| 855 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeletedAt', []); |
| 856 | |
| 857 | return parent::getDeletedAt(); |
| 858 | } |
| 859 | |
| 860 | /** |
| 861 | * {@inheritDoc} |
| 862 | */ |
| 863 | public function setDeletedAt($deletedAt) |
| 864 | { |
| 865 | |
| 866 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeletedAt', [$deletedAt]); |
| 867 | |
| 868 | return parent::setDeletedAt($deletedAt); |
| 869 | } |
| 870 | |
| 871 | } |
| 872 |