__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__MailPoetEntitiesStatsNotificationEntity.php
276 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 StatsNotificationEntity extends \MailPoet\Entities\StatsNotificationEntity 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\\StatsNotificationEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\StatsNotificationEntity' . "\0" . 'task', '' . "\0" . 'MailPoet\\Entities\\StatsNotificationEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\StatsNotificationEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\StatsNotificationEntity' . "\0" . 'updatedAt']; |
| 74 | } |
| 75 | |
| 76 | return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\StatsNotificationEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\StatsNotificationEntity' . "\0" . 'task', '' . "\0" . 'MailPoet\\Entities\\StatsNotificationEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\StatsNotificationEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\StatsNotificationEntity' . "\0" . 'updatedAt']; |
| 77 | } |
| 78 | |
| 79 | /** |
| 80 | * |
| 81 | */ |
| 82 | public function __wakeup() |
| 83 | { |
| 84 | if ( ! $this->__isInitialized__) { |
| 85 | $this->__initializer__ = function (StatsNotificationEntity $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 getNewsletter() |
| 187 | { |
| 188 | |
| 189 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletter', []); |
| 190 | |
| 191 | return parent::getNewsletter(); |
| 192 | } |
| 193 | |
| 194 | /** |
| 195 | * {@inheritDoc} |
| 196 | */ |
| 197 | public function getTask() |
| 198 | { |
| 199 | |
| 200 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTask', []); |
| 201 | |
| 202 | return parent::getTask(); |
| 203 | } |
| 204 | |
| 205 | /** |
| 206 | * {@inheritDoc} |
| 207 | */ |
| 208 | public function getId() |
| 209 | { |
| 210 | if ($this->__isInitialized__ === false) { |
| 211 | return (int) parent::getId(); |
| 212 | } |
| 213 | |
| 214 | |
| 215 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); |
| 216 | |
| 217 | return parent::getId(); |
| 218 | } |
| 219 | |
| 220 | /** |
| 221 | * {@inheritDoc} |
| 222 | */ |
| 223 | public function setId($id) |
| 224 | { |
| 225 | |
| 226 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]); |
| 227 | |
| 228 | return parent::setId($id); |
| 229 | } |
| 230 | |
| 231 | /** |
| 232 | * {@inheritDoc} |
| 233 | */ |
| 234 | public function getCreatedAt(): ?\DateTimeInterface |
| 235 | { |
| 236 | |
| 237 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []); |
| 238 | |
| 239 | return parent::getCreatedAt(); |
| 240 | } |
| 241 | |
| 242 | /** |
| 243 | * {@inheritDoc} |
| 244 | */ |
| 245 | public function setCreatedAt(\DateTimeInterface $createdAt): void |
| 246 | { |
| 247 | |
| 248 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]); |
| 249 | |
| 250 | parent::setCreatedAt($createdAt); |
| 251 | } |
| 252 | |
| 253 | /** |
| 254 | * {@inheritDoc} |
| 255 | */ |
| 256 | public function getUpdatedAt() |
| 257 | { |
| 258 | |
| 259 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []); |
| 260 | |
| 261 | return parent::getUpdatedAt(); |
| 262 | } |
| 263 | |
| 264 | /** |
| 265 | * {@inheritDoc} |
| 266 | */ |
| 267 | public function setUpdatedAt(\DateTimeInterface $updatedAt) |
| 268 | { |
| 269 | |
| 270 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]); |
| 271 | |
| 272 | return parent::setUpdatedAt($updatedAt); |
| 273 | } |
| 274 | |
| 275 | } |
| 276 |