__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__MailPoetEntitiesStatisticsClickEntity.php
419 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 StatisticsClickEntity extends \MailPoet\Entities\StatisticsClickEntity 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\\StatisticsClickEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'queue', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'link', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'wooCommercePurchases', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'userAgent', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'userAgentType', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'count', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'updatedAt']; |
| 74 | } |
| 75 | |
| 76 | return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'queue', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'link', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'wooCommercePurchases', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'userAgent', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'userAgentType', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'count', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\StatisticsClickEntity' . "\0" . 'updatedAt']; |
| 77 | } |
| 78 | |
| 79 | /** |
| 80 | * |
| 81 | */ |
| 82 | public function __wakeup() |
| 83 | { |
| 84 | if ( ! $this->__isInitialized__) { |
| 85 | $this->__initializer__ = function (StatisticsClickEntity $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 getQueue() |
| 198 | { |
| 199 | |
| 200 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getQueue', []); |
| 201 | |
| 202 | return parent::getQueue(); |
| 203 | } |
| 204 | |
| 205 | /** |
| 206 | * {@inheritDoc} |
| 207 | */ |
| 208 | public function getLink() |
| 209 | { |
| 210 | |
| 211 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLink', []); |
| 212 | |
| 213 | return parent::getLink(); |
| 214 | } |
| 215 | |
| 216 | /** |
| 217 | * {@inheritDoc} |
| 218 | */ |
| 219 | public function setNewsletter($newsletter) |
| 220 | { |
| 221 | |
| 222 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNewsletter', [$newsletter]); |
| 223 | |
| 224 | return parent::setNewsletter($newsletter); |
| 225 | } |
| 226 | |
| 227 | /** |
| 228 | * {@inheritDoc} |
| 229 | */ |
| 230 | public function setQueue($queue) |
| 231 | { |
| 232 | |
| 233 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setQueue', [$queue]); |
| 234 | |
| 235 | return parent::setQueue($queue); |
| 236 | } |
| 237 | |
| 238 | /** |
| 239 | * {@inheritDoc} |
| 240 | */ |
| 241 | public function setSubscriber($subscriber) |
| 242 | { |
| 243 | |
| 244 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSubscriber', [$subscriber]); |
| 245 | |
| 246 | return parent::setSubscriber($subscriber); |
| 247 | } |
| 248 | |
| 249 | /** |
| 250 | * {@inheritDoc} |
| 251 | */ |
| 252 | public function getSubscriber(): ?\MailPoet\Entities\SubscriberEntity |
| 253 | { |
| 254 | |
| 255 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscriber', []); |
| 256 | |
| 257 | return parent::getSubscriber(); |
| 258 | } |
| 259 | |
| 260 | /** |
| 261 | * {@inheritDoc} |
| 262 | */ |
| 263 | public function setLink($link) |
| 264 | { |
| 265 | |
| 266 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLink', [$link]); |
| 267 | |
| 268 | return parent::setLink($link); |
| 269 | } |
| 270 | |
| 271 | /** |
| 272 | * {@inheritDoc} |
| 273 | */ |
| 274 | public function setCount(int $count) |
| 275 | { |
| 276 | |
| 277 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCount', [$count]); |
| 278 | |
| 279 | return parent::setCount($count); |
| 280 | } |
| 281 | |
| 282 | /** |
| 283 | * {@inheritDoc} |
| 284 | */ |
| 285 | public function getWooCommercePurchases() |
| 286 | { |
| 287 | |
| 288 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWooCommercePurchases', []); |
| 289 | |
| 290 | return parent::getWooCommercePurchases(); |
| 291 | } |
| 292 | |
| 293 | /** |
| 294 | * {@inheritDoc} |
| 295 | */ |
| 296 | public function getCount(): int |
| 297 | { |
| 298 | |
| 299 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCount', []); |
| 300 | |
| 301 | return parent::getCount(); |
| 302 | } |
| 303 | |
| 304 | /** |
| 305 | * {@inheritDoc} |
| 306 | */ |
| 307 | public function getUserAgent(): ?\MailPoet\Entities\UserAgentEntity |
| 308 | { |
| 309 | |
| 310 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserAgent', []); |
| 311 | |
| 312 | return parent::getUserAgent(); |
| 313 | } |
| 314 | |
| 315 | /** |
| 316 | * {@inheritDoc} |
| 317 | */ |
| 318 | public function setUserAgent(?\MailPoet\Entities\UserAgentEntity $userAgent): void |
| 319 | { |
| 320 | |
| 321 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUserAgent', [$userAgent]); |
| 322 | |
| 323 | parent::setUserAgent($userAgent); |
| 324 | } |
| 325 | |
| 326 | /** |
| 327 | * {@inheritDoc} |
| 328 | */ |
| 329 | public function getUserAgentType(): int |
| 330 | { |
| 331 | |
| 332 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserAgentType', []); |
| 333 | |
| 334 | return parent::getUserAgentType(); |
| 335 | } |
| 336 | |
| 337 | /** |
| 338 | * {@inheritDoc} |
| 339 | */ |
| 340 | public function setUserAgentType(int $userAgentType): void |
| 341 | { |
| 342 | |
| 343 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUserAgentType', [$userAgentType]); |
| 344 | |
| 345 | parent::setUserAgentType($userAgentType); |
| 346 | } |
| 347 | |
| 348 | /** |
| 349 | * {@inheritDoc} |
| 350 | */ |
| 351 | public function getId() |
| 352 | { |
| 353 | if ($this->__isInitialized__ === false) { |
| 354 | return (int) parent::getId(); |
| 355 | } |
| 356 | |
| 357 | |
| 358 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); |
| 359 | |
| 360 | return parent::getId(); |
| 361 | } |
| 362 | |
| 363 | /** |
| 364 | * {@inheritDoc} |
| 365 | */ |
| 366 | public function setId($id) |
| 367 | { |
| 368 | |
| 369 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]); |
| 370 | |
| 371 | return parent::setId($id); |
| 372 | } |
| 373 | |
| 374 | /** |
| 375 | * {@inheritDoc} |
| 376 | */ |
| 377 | public function getCreatedAt(): ?\DateTimeInterface |
| 378 | { |
| 379 | |
| 380 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []); |
| 381 | |
| 382 | return parent::getCreatedAt(); |
| 383 | } |
| 384 | |
| 385 | /** |
| 386 | * {@inheritDoc} |
| 387 | */ |
| 388 | public function setCreatedAt(\DateTimeInterface $createdAt): void |
| 389 | { |
| 390 | |
| 391 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]); |
| 392 | |
| 393 | parent::setCreatedAt($createdAt); |
| 394 | } |
| 395 | |
| 396 | /** |
| 397 | * {@inheritDoc} |
| 398 | */ |
| 399 | public function getUpdatedAt() |
| 400 | { |
| 401 | |
| 402 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []); |
| 403 | |
| 404 | return parent::getUpdatedAt(); |
| 405 | } |
| 406 | |
| 407 | /** |
| 408 | * {@inheritDoc} |
| 409 | */ |
| 410 | public function setUpdatedAt(\DateTimeInterface $updatedAt) |
| 411 | { |
| 412 | |
| 413 | $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]); |
| 414 | |
| 415 | return parent::setUpdatedAt($updatedAt); |
| 416 | } |
| 417 | |
| 418 | } |
| 419 |