This commit is contained in:
emmymayo
2025-02-05 23:15:46 +01:00
commit 7269c99357
16995 changed files with 3389680 additions and 0 deletions
@@ -0,0 +1,319 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class CustomFieldEntity extends \MailPoet\Entities\CustomFieldEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\CustomFieldEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\CustomFieldEntity' . "\0" . 'type', '' . "\0" . 'MailPoet\\Entities\\CustomFieldEntity' . "\0" . 'params', '' . "\0" . 'MailPoet\\Entities\\CustomFieldEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\CustomFieldEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\CustomFieldEntity' . "\0" . 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\CustomFieldEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\CustomFieldEntity' . "\0" . 'type', '' . "\0" . 'MailPoet\\Entities\\CustomFieldEntity' . "\0" . 'params', '' . "\0" . 'MailPoet\\Entities\\CustomFieldEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\CustomFieldEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\CustomFieldEntity' . "\0" . 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (CustomFieldEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function getType()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getType', []);
return parent::getType();
}
/**
* {@inheritDoc}
*/
public function getParams()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getParams', []);
return parent::getParams();
}
/**
* {@inheritDoc}
*/
public function setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function setType($type)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setType', [$type]);
return parent::setType($type);
}
/**
* {@inheritDoc}
*/
public function setParams(array $params)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setParams', [$params]);
return parent::setParams($params);
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,299 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class DynamicSegmentFilterEntity extends \MailPoet\Entities\DynamicSegmentFilterEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\DynamicSegmentFilterEntity' . "\0" . 'segment', '' . "\0" . 'MailPoet\\Entities\\DynamicSegmentFilterEntity' . "\0" . 'filterData', '' . "\0" . 'MailPoet\\Entities\\DynamicSegmentFilterEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\DynamicSegmentFilterEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\DynamicSegmentFilterEntity' . "\0" . 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\DynamicSegmentFilterEntity' . "\0" . 'segment', '' . "\0" . 'MailPoet\\Entities\\DynamicSegmentFilterEntity' . "\0" . 'filterData', '' . "\0" . 'MailPoet\\Entities\\DynamicSegmentFilterEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\DynamicSegmentFilterEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\DynamicSegmentFilterEntity' . "\0" . 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (DynamicSegmentFilterEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
* {@inheritDoc}
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
parent::__clone();
}
/**
* Forces initialization of the proxy
*/
public function __load(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getSegment()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSegment', []);
return parent::getSegment();
}
/**
* {@inheritDoc}
*/
public function getFilterData()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFilterData', []);
return parent::getFilterData();
}
/**
* {@inheritDoc}
*/
public function setSegment(\MailPoet\Entities\SegmentEntity $segment)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSegment', [$segment]);
return parent::setSegment($segment);
}
/**
* {@inheritDoc}
*/
public function setFilterData(\MailPoet\Entities\DynamicSegmentFilterData $filterData)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFilterData', [$filterData]);
return parent::setFilterData($filterData);
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,297 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class FeatureFlagEntity extends \MailPoet\Entities\FeatureFlagEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\FeatureFlagEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\FeatureFlagEntity' . "\0" . 'value', '' . "\0" . 'MailPoet\\Entities\\FeatureFlagEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\FeatureFlagEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\FeatureFlagEntity' . "\0" . 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\FeatureFlagEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\FeatureFlagEntity' . "\0" . 'value', '' . "\0" . 'MailPoet\\Entities\\FeatureFlagEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\FeatureFlagEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\FeatureFlagEntity' . "\0" . 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (FeatureFlagEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getValue()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getValue', []);
return parent::getValue();
}
/**
* {@inheritDoc}
*/
public function setValue($value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setValue', [$value]);
return parent::setValue($value);
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,429 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class FormEntity extends \MailPoet\Entities\FormEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\FormEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\FormEntity' . "\0" . 'body', '' . "\0" . 'MailPoet\\Entities\\FormEntity' . "\0" . 'status', '' . "\0" . 'MailPoet\\Entities\\FormEntity' . "\0" . 'settings', '' . "\0" . 'MailPoet\\Entities\\FormEntity' . "\0" . 'styles', '' . "\0" . 'MailPoet\\Entities\\FormEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\FormEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\FormEntity' . "\0" . 'updatedAt', '' . "\0" . 'MailPoet\\Entities\\FormEntity' . "\0" . 'deletedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\FormEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\FormEntity' . "\0" . 'body', '' . "\0" . 'MailPoet\\Entities\\FormEntity' . "\0" . 'status', '' . "\0" . 'MailPoet\\Entities\\FormEntity' . "\0" . 'settings', '' . "\0" . 'MailPoet\\Entities\\FormEntity' . "\0" . 'styles', '' . "\0" . 'MailPoet\\Entities\\FormEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\FormEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\FormEntity' . "\0" . 'updatedAt', '' . "\0" . 'MailPoet\\Entities\\FormEntity' . "\0" . 'deletedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (FormEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function getBody()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBody', []);
return parent::getBody();
}
/**
* {@inheritDoc}
*/
public function getSettings()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSettings', []);
return parent::getSettings();
}
/**
* {@inheritDoc}
*/
public function getStyles()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStyles', []);
return parent::getStyles();
}
/**
* {@inheritDoc}
*/
public function setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function setBody($body)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setBody', [$body]);
return parent::setBody($body);
}
/**
* {@inheritDoc}
*/
public function setSettings($settings)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSettings', [$settings]);
return parent::setSettings($settings);
}
/**
* {@inheritDoc}
*/
public function setStyles($styles)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setStyles', [$styles]);
return parent::setStyles($styles);
}
/**
* {@inheritDoc}
*/
public function setStatus(string $status)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setStatus', [$status]);
return parent::setStatus($status);
}
/**
* {@inheritDoc}
*/
public function getStatus(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatus', []);
return parent::getStatus();
}
/**
* {@inheritDoc}
*/
public function toArray(): array
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', []);
return parent::toArray();
}
/**
* {@inheritDoc}
*/
public function getBlocksByTypes(array $types, array $blocks = NULL): array
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBlocksByTypes', [$types, $blocks]);
return parent::getBlocksByTypes($types, $blocks);
}
/**
* {@inheritDoc}
*/
public function getSegmentBlocksSegmentIds(): array
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSegmentBlocksSegmentIds', []);
return parent::getSegmentBlocksSegmentIds();
}
/**
* {@inheritDoc}
*/
public function getSettingsSegmentIds(): array
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSettingsSegmentIds', []);
return parent::getSettingsSegmentIds();
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
/**
* {@inheritDoc}
*/
public function getDeletedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeletedAt', []);
return parent::getDeletedAt();
}
/**
* {@inheritDoc}
*/
public function setDeletedAt($deletedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeletedAt', [$deletedAt]);
return parent::setDeletedAt($deletedAt);
}
}
@@ -0,0 +1,341 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class LogEntity extends \MailPoet\Entities\LogEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\LogEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\LogEntity' . "\0" . 'level', '' . "\0" . 'MailPoet\\Entities\\LogEntity' . "\0" . 'message', '' . "\0" . 'MailPoet\\Entities\\LogEntity' . "\0" . 'rawMessage', '' . "\0" . 'MailPoet\\Entities\\LogEntity' . "\0" . 'context', '' . "\0" . 'MailPoet\\Entities\\LogEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\LogEntity' . "\0" . 'createdAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\LogEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\LogEntity' . "\0" . 'level', '' . "\0" . 'MailPoet\\Entities\\LogEntity' . "\0" . 'message', '' . "\0" . 'MailPoet\\Entities\\LogEntity' . "\0" . 'rawMessage', '' . "\0" . 'MailPoet\\Entities\\LogEntity' . "\0" . 'context', '' . "\0" . 'MailPoet\\Entities\\LogEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\LogEntity' . "\0" . 'createdAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (LogEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getName(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function getLevel(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLevel', []);
return parent::getLevel();
}
/**
* {@inheritDoc}
*/
public function getMessage(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMessage', []);
return parent::getMessage();
}
/**
* {@inheritDoc}
*/
public function getRawMessage(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRawMessage', []);
return parent::getRawMessage();
}
/**
* {@inheritDoc}
*/
public function getContext(): ?array
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getContext', []);
return parent::getContext();
}
/**
* {@inheritDoc}
*/
public function setName(?string $name): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function setLevel(?int $level): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLevel', [$level]);
parent::setLevel($level);
}
/**
* {@inheritDoc}
*/
public function setMessage(?string $message): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMessage', [$message]);
parent::setMessage($message);
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function setRawMessage(string $message): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setRawMessage', [$message]);
parent::setRawMessage($message);
}
/**
* {@inheritDoc}
*/
public function setContext(array $context): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setContext', [$context]);
parent::setContext($context);
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
}
@@ -0,0 +1,857 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class NewsletterEntity extends \MailPoet\Entities\NewsletterEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @param string $name
*/
public function __get($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__get', [$name]);
return parent::__get($name);
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
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'];
}
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'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (NewsletterEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
* {@inheritDoc}
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
parent::__clone();
}
/**
* Forces initialization of the proxy
*/
public function __load(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getHash()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getHash', []);
return parent::getHash();
}
/**
* {@inheritDoc}
*/
public function setHash($hash)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setHash', [$hash]);
return parent::setHash($hash);
}
/**
* {@inheritDoc}
*/
public function getSubject()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubject', []);
return parent::getSubject();
}
/**
* {@inheritDoc}
*/
public function setSubject($subject)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSubject', [$subject]);
return parent::setSubject($subject);
}
/**
* {@inheritDoc}
*/
public function getType()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getType', []);
return parent::getType();
}
/**
* {@inheritDoc}
*/
public function setType($type)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setType', [$type]);
return parent::setType($type);
}
/**
* {@inheritDoc}
*/
public function getSenderAddress()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSenderAddress', []);
return parent::getSenderAddress();
}
/**
* {@inheritDoc}
*/
public function setSenderAddress($senderAddress)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSenderAddress', [$senderAddress]);
return parent::setSenderAddress($senderAddress);
}
/**
* {@inheritDoc}
*/
public function getSenderName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSenderName', []);
return parent::getSenderName();
}
/**
* {@inheritDoc}
*/
public function setSenderName($senderName)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSenderName', [$senderName]);
return parent::setSenderName($senderName);
}
/**
* {@inheritDoc}
*/
public function getStatus()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatus', []);
return parent::getStatus();
}
/**
* {@inheritDoc}
*/
public function setStatus($status)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setStatus', [$status]);
return parent::setStatus($status);
}
/**
* {@inheritDoc}
*/
public function getReplyToAddress()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getReplyToAddress', []);
return parent::getReplyToAddress();
}
/**
* {@inheritDoc}
*/
public function setReplyToAddress($replyToAddress)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setReplyToAddress', [$replyToAddress]);
return parent::setReplyToAddress($replyToAddress);
}
/**
* {@inheritDoc}
*/
public function getReplyToName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getReplyToName', []);
return parent::getReplyToName();
}
/**
* {@inheritDoc}
*/
public function setReplyToName($replyToName)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setReplyToName', [$replyToName]);
return parent::setReplyToName($replyToName);
}
/**
* {@inheritDoc}
*/
public function getPreheader()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPreheader', []);
return parent::getPreheader();
}
/**
* {@inheritDoc}
*/
public function setPreheader($preheader)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPreheader', [$preheader]);
return parent::setPreheader($preheader);
}
/**
* {@inheritDoc}
*/
public function getBody()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBody', []);
return parent::getBody();
}
/**
* {@inheritDoc}
*/
public function setBody($body)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setBody', [$body]);
return parent::setBody($body);
}
/**
* {@inheritDoc}
*/
public function getSentAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSentAt', []);
return parent::getSentAt();
}
/**
* {@inheritDoc}
*/
public function setSentAt($sentAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSentAt', [$sentAt]);
return parent::setSentAt($sentAt);
}
/**
* {@inheritDoc}
*/
public function getUnsubscribeToken()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUnsubscribeToken', []);
return parent::getUnsubscribeToken();
}
/**
* {@inheritDoc}
*/
public function getGaCampaign()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getGaCampaign', []);
return parent::getGaCampaign();
}
/**
* {@inheritDoc}
*/
public function setGaCampaign($gaCampaign)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setGaCampaign', [$gaCampaign]);
return parent::setGaCampaign($gaCampaign);
}
/**
* {@inheritDoc}
*/
public function setUnsubscribeToken($unsubscribeToken)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUnsubscribeToken', [$unsubscribeToken]);
return parent::setUnsubscribeToken($unsubscribeToken);
}
/**
* {@inheritDoc}
*/
public function getParent()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getParent', []);
return parent::getParent();
}
/**
* {@inheritDoc}
*/
public function setParent($parent)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setParent', [$parent]);
return parent::setParent($parent);
}
/**
* {@inheritDoc}
*/
public function getChildren()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getChildren', []);
return parent::getChildren();
}
/**
* {@inheritDoc}
*/
public function getNewsletterSegments()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletterSegments', []);
return parent::getNewsletterSegments();
}
/**
* {@inheritDoc}
*/
public function getSegmentIds()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSegmentIds', []);
return parent::getSegmentIds();
}
/**
* {@inheritDoc}
*/
public function getOptions()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOptions', []);
return parent::getOptions();
}
/**
* {@inheritDoc}
*/
public function getOption(string $name): ?\MailPoet\Entities\NewsletterOptionEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOption', [$name]);
return parent::getOption($name);
}
/**
* {@inheritDoc}
*/
public function getOptionsAsArray(): array
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOptionsAsArray', []);
return parent::getOptionsAsArray();
}
/**
* {@inheritDoc}
*/
public function getOptionValue(string $name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOptionValue', [$name]);
return parent::getOptionValue($name);
}
/**
* {@inheritDoc}
*/
public function getFilterSegmentId(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFilterSegmentId', []);
return parent::getFilterSegmentId();
}
/**
* {@inheritDoc}
*/
public function getQueues()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getQueues', []);
return parent::getQueues();
}
/**
* {@inheritDoc}
*/
public function getLatestQueue(): ?\MailPoet\Entities\SendingQueueEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLatestQueue', []);
return parent::getLatestQueue();
}
/**
* {@inheritDoc}
*/
public function getLastUpdatedQueue(): ?\MailPoet\Entities\SendingQueueEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastUpdatedQueue', []);
return parent::getLastUpdatedQueue();
}
/**
* {@inheritDoc}
*/
public function getUnfinishedQueues(): \MailPoetVendor\Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUnfinishedQueues', []);
return parent::getUnfinishedQueues();
}
/**
* {@inheritDoc}
*/
public function getGlobalStyle(string $category, string $style): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getGlobalStyle', [$category, $style]);
return parent::getGlobalStyle($category, $style);
}
/**
* {@inheritDoc}
*/
public function setGlobalStyle(string $category, string $style, $value): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setGlobalStyle', [$category, $style, $value]);
parent::setGlobalStyle($category, $style, $value);
}
/**
* {@inheritDoc}
*/
public function getProcessedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProcessedAt', []);
return parent::getProcessedAt();
}
/**
* {@inheritDoc}
*/
public function getContent(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getContent', []);
return parent::getContent();
}
/**
* {@inheritDoc}
*/
public function canBeSetSent(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'canBeSetSent', []);
return parent::canBeSetSent();
}
/**
* {@inheritDoc}
*/
public function canBeSetActive(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'canBeSetActive', []);
return parent::canBeSetActive();
}
/**
* {@inheritDoc}
*/
public function getWpPost(): ?\MailPoet\Entities\WpPostEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getWpPost', []);
return parent::getWpPost();
}
/**
* {@inheritDoc}
*/
public function setWpPost(?\MailPoet\Entities\WpPostEntity $wpPostEntity): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setWpPost', [$wpPostEntity]);
parent::setWpPost($wpPostEntity);
}
/**
* {@inheritDoc}
*/
public function getWpPostId(): ?int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getWpPostId', []);
return parent::getWpPostId();
}
/**
* {@inheritDoc}
*/
public function getCampaignName(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCampaignName', []);
return parent::getCampaignName();
}
/**
* {@inheritDoc}
*/
public function getCampaignNameOrSubject(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCampaignNameOrSubject', []);
return parent::getCampaignNameOrSubject();
}
/**
* {@inheritDoc}
*/
public function isTransactional(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isTransactional', []);
return parent::isTransactional();
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
/**
* {@inheritDoc}
*/
public function getDeletedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeletedAt', []);
return parent::getDeletedAt();
}
/**
* {@inheritDoc}
*/
public function setDeletedAt($deletedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeletedAt', [$deletedAt]);
return parent::setDeletedAt($deletedAt);
}
}
@@ -0,0 +1,319 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class NewsletterLinkEntity extends \MailPoet\Entities\NewsletterLinkEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\NewsletterLinkEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\NewsletterLinkEntity' . "\0" . 'queue', '' . "\0" . 'MailPoet\\Entities\\NewsletterLinkEntity' . "\0" . 'url', '' . "\0" . 'MailPoet\\Entities\\NewsletterLinkEntity' . "\0" . 'hash', '' . "\0" . 'MailPoet\\Entities\\NewsletterLinkEntity' . "\0" . 'clicks', '' . "\0" . 'MailPoet\\Entities\\NewsletterLinkEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\NewsletterLinkEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\NewsletterLinkEntity' . "\0" . 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\NewsletterLinkEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\NewsletterLinkEntity' . "\0" . 'queue', '' . "\0" . 'MailPoet\\Entities\\NewsletterLinkEntity' . "\0" . 'url', '' . "\0" . 'MailPoet\\Entities\\NewsletterLinkEntity' . "\0" . 'hash', '' . "\0" . 'MailPoet\\Entities\\NewsletterLinkEntity' . "\0" . 'clicks', '' . "\0" . 'MailPoet\\Entities\\NewsletterLinkEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\NewsletterLinkEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\NewsletterLinkEntity' . "\0" . 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (NewsletterLinkEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getNewsletter()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletter', []);
return parent::getNewsletter();
}
/**
* {@inheritDoc}
*/
public function getQueue()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getQueue', []);
return parent::getQueue();
}
/**
* {@inheritDoc}
*/
public function getUrl(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUrl', []);
return parent::getUrl();
}
/**
* {@inheritDoc}
*/
public function getHash(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getHash', []);
return parent::getHash();
}
/**
* {@inheritDoc}
*/
public function getTotalClicksCount()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTotalClicksCount', []);
return parent::getTotalClicksCount();
}
/**
* {@inheritDoc}
*/
public function toArray(): array
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', []);
return parent::toArray();
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,308 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class NewsletterOptionEntity extends \MailPoet\Entities\NewsletterOptionEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionEntity' . "\0" . 'value', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionEntity' . "\0" . 'optionField', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionEntity' . "\0" . 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionEntity' . "\0" . 'value', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionEntity' . "\0" . 'optionField', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionEntity' . "\0" . 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (NewsletterOptionEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getValue()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getValue', []);
return parent::getValue();
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setValue($value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setValue', [$value]);
return parent::setValue($value);
}
/**
* {@inheritDoc}
*/
public function getNewsletter()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletter', []);
return parent::getNewsletter();
}
/**
* {@inheritDoc}
*/
public function getOptionField()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOptionField', []);
return parent::getOptionField();
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,297 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class NewsletterOptionFieldEntity extends \MailPoet\Entities\NewsletterOptionFieldEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionFieldEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionFieldEntity' . "\0" . 'newsletterType', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionFieldEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionFieldEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionFieldEntity' . "\0" . 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionFieldEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionFieldEntity' . "\0" . 'newsletterType', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionFieldEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionFieldEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\NewsletterOptionFieldEntity' . "\0" . 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (NewsletterOptionFieldEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getNewsletterType()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletterType', []);
return parent::getNewsletterType();
}
/**
* {@inheritDoc}
*/
public function setNewsletterType($newsletterType)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNewsletterType', [$newsletterType]);
return parent::setNewsletterType($newsletterType);
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,275 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class NewsletterPostEntity extends \MailPoet\Entities\NewsletterPostEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\NewsletterPostEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\NewsletterPostEntity' . "\0" . 'postId', '' . "\0" . 'MailPoet\\Entities\\NewsletterPostEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\NewsletterPostEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\NewsletterPostEntity' . "\0" . 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\NewsletterPostEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\NewsletterPostEntity' . "\0" . 'postId', '' . "\0" . 'MailPoet\\Entities\\NewsletterPostEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\NewsletterPostEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\NewsletterPostEntity' . "\0" . 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (NewsletterPostEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getNewsletter()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletter', []);
return parent::getNewsletter();
}
/**
* {@inheritDoc}
*/
public function getPostId(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPostId', []);
return parent::getPostId();
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,275 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class NewsletterSegmentEntity extends \MailPoet\Entities\NewsletterSegmentEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\NewsletterSegmentEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\NewsletterSegmentEntity' . "\0" . 'segment', '' . "\0" . 'MailPoet\\Entities\\NewsletterSegmentEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\NewsletterSegmentEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\NewsletterSegmentEntity' . "\0" . 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\NewsletterSegmentEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\NewsletterSegmentEntity' . "\0" . 'segment', '' . "\0" . 'MailPoet\\Entities\\NewsletterSegmentEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\NewsletterSegmentEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\NewsletterSegmentEntity' . "\0" . 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (NewsletterSegmentEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getNewsletter()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletter', []);
return parent::getNewsletter();
}
/**
* {@inheritDoc}
*/
public function getSegment()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSegment', []);
return parent::getSegment();
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,407 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class NewsletterTemplateEntity extends \MailPoet\Entities\NewsletterTemplateEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'categories', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'body', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'thumbnail', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'thumbnailData', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'readonly', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'categories', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'body', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'thumbnail', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'thumbnailData', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'readonly', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\NewsletterTemplateEntity' . "\0" . 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (NewsletterTemplateEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getNewsletter()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletter', []);
return parent::getNewsletter();
}
/**
* {@inheritDoc}
*/
public function setNewsletter($newsletter)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNewsletter', [$newsletter]);
return parent::setNewsletter($newsletter);
}
/**
* {@inheritDoc}
*/
public function getName(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setName(string $name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getCategories(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCategories', []);
return parent::getCategories();
}
/**
* {@inheritDoc}
*/
public function setCategories(string $categories)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCategories', [$categories]);
return parent::setCategories($categories);
}
/**
* {@inheritDoc}
*/
public function getBody()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getBody', []);
return parent::getBody();
}
/**
* {@inheritDoc}
*/
public function setBody($body)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setBody', [$body]);
return parent::setBody($body);
}
/**
* {@inheritDoc}
*/
public function getThumbnail()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getThumbnail', []);
return parent::getThumbnail();
}
/**
* {@inheritDoc}
*/
public function setThumbnail($thumbnail)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setThumbnail', [$thumbnail]);
return parent::setThumbnail($thumbnail);
}
/**
* {@inheritDoc}
*/
public function getThumbnailData(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getThumbnailData', []);
return parent::getThumbnailData();
}
/**
* {@inheritDoc}
*/
public function setThumbnailData(string $thumbnailData): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setThumbnailData', [$thumbnailData]);
parent::setThumbnailData($thumbnailData);
}
/**
* {@inheritDoc}
*/
public function getReadonly(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getReadonly', []);
return parent::getReadonly();
}
/**
* {@inheritDoc}
*/
public function setReadonly(bool $readonly)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setReadonly', [$readonly]);
return parent::setReadonly($readonly);
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,517 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class ScheduledTaskEntity extends \MailPoet\Entities\ScheduledTaskEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'type', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'status', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'priority', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'scheduledAt', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'cancelledAt', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'processedAt', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'meta', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'inProgress', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'rescheduleCount', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'subscribers', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'sendingQueue', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'updatedAt', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'deletedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'type', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'status', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'priority', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'scheduledAt', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'cancelledAt', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'processedAt', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'meta', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'inProgress', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'rescheduleCount', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'subscribers', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'sendingQueue', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'updatedAt', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskEntity' . "\0" . 'deletedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (ScheduledTaskEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getType()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getType', []);
return parent::getType();
}
/**
* {@inheritDoc}
*/
public function setType($type)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setType', [$type]);
return parent::setType($type);
}
/**
* {@inheritDoc}
*/
public function getStatus()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatus', []);
return parent::getStatus();
}
/**
* {@inheritDoc}
*/
public function setStatus($status)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setStatus', [$status]);
return parent::setStatus($status);
}
/**
* {@inheritDoc}
*/
public function getPriority()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPriority', []);
return parent::getPriority();
}
/**
* {@inheritDoc}
*/
public function setPriority($priority)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPriority', [$priority]);
return parent::setPriority($priority);
}
/**
* {@inheritDoc}
*/
public function getScheduledAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getScheduledAt', []);
return parent::getScheduledAt();
}
/**
* {@inheritDoc}
*/
public function setScheduledAt($scheduledAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setScheduledAt', [$scheduledAt]);
return parent::setScheduledAt($scheduledAt);
}
/**
* {@inheritDoc}
*/
public function getCancelledAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCancelledAt', []);
return parent::getCancelledAt();
}
/**
* {@inheritDoc}
*/
public function setCancelledAt($cancelledAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCancelledAt', [$cancelledAt]);
return parent::setCancelledAt($cancelledAt);
}
/**
* {@inheritDoc}
*/
public function getProcessedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProcessedAt', []);
return parent::getProcessedAt();
}
/**
* {@inheritDoc}
*/
public function setProcessedAt($processedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setProcessedAt', [$processedAt]);
return parent::setProcessedAt($processedAt);
}
/**
* {@inheritDoc}
*/
public function getMeta()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMeta', []);
return parent::getMeta();
}
/**
* {@inheritDoc}
*/
public function setMeta($meta)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMeta', [$meta]);
return parent::setMeta($meta);
}
/**
* {@inheritDoc}
*/
public function getInProgress()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getInProgress', []);
return parent::getInProgress();
}
/**
* {@inheritDoc}
*/
public function setInProgress($inProgress)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setInProgress', [$inProgress]);
return parent::setInProgress($inProgress);
}
/**
* {@inheritDoc}
*/
public function getRescheduleCount(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRescheduleCount', []);
return parent::getRescheduleCount();
}
/**
* {@inheritDoc}
*/
public function setRescheduleCount(int $rescheduleCount)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setRescheduleCount', [$rescheduleCount]);
return parent::setRescheduleCount($rescheduleCount);
}
/**
* {@inheritDoc}
*/
public function getSubscribers(): \MailPoetVendor\Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscribers', []);
return parent::getSubscribers();
}
/**
* {@inheritDoc}
*/
public function getSubscribersByProcessed(int $processed): array
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscribersByProcessed', [$processed]);
return parent::getSubscribersByProcessed($processed);
}
/**
* {@inheritDoc}
*/
public function getSendingQueue(): ?\MailPoet\Entities\SendingQueueEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSendingQueue', []);
return parent::getSendingQueue();
}
/**
* {@inheritDoc}
*/
public function setSendingQueue(\MailPoet\Entities\SendingQueueEntity $sendingQueue): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSendingQueue', [$sendingQueue]);
parent::setSendingQueue($sendingQueue);
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
/**
* {@inheritDoc}
*/
public function getDeletedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeletedAt', []);
return parent::getDeletedAt();
}
/**
* {@inheritDoc}
*/
public function setDeletedAt($deletedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeletedAt', [$deletedAt]);
return parent::setDeletedAt($deletedAt);
}
}
@@ -0,0 +1,359 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class ScheduledTaskSubscriberEntity extends \MailPoet\Entities\ScheduledTaskSubscriberEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskSubscriberEntity' . "\0" . 'processed', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskSubscriberEntity' . "\0" . 'failed', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskSubscriberEntity' . "\0" . 'error', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskSubscriberEntity' . "\0" . 'task', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskSubscriberEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskSubscriberEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskSubscriberEntity' . "\0" . 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskSubscriberEntity' . "\0" . 'processed', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskSubscriberEntity' . "\0" . 'failed', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskSubscriberEntity' . "\0" . 'error', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskSubscriberEntity' . "\0" . 'task', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskSubscriberEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskSubscriberEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\ScheduledTaskSubscriberEntity' . "\0" . 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (ScheduledTaskSubscriberEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getProcessed(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProcessed', []);
return parent::getProcessed();
}
/**
* {@inheritDoc}
*/
public function setProcessed(int $processed)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setProcessed', [$processed]);
return parent::setProcessed($processed);
}
/**
* {@inheritDoc}
*/
public function getFailed(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFailed', []);
return parent::getFailed();
}
/**
* {@inheritDoc}
*/
public function setFailed(int $failed)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFailed', [$failed]);
return parent::setFailed($failed);
}
/**
* {@inheritDoc}
*/
public function getError()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getError', []);
return parent::getError();
}
/**
* {@inheritDoc}
*/
public function setError($error)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setError', [$error]);
return parent::setError($error);
}
/**
* {@inheritDoc}
*/
public function getTask()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTask', []);
return parent::getTask();
}
/**
* {@inheritDoc}
*/
public function setTask(\MailPoet\Entities\ScheduledTaskEntity $task)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTask', [$task]);
return parent::setTask($task);
}
/**
* {@inheritDoc}
*/
public function getSubscriber()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscriber', []);
return parent::getSubscriber();
}
/**
* {@inheritDoc}
*/
public function getSubscriberId()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscriberId', []);
return parent::getSubscriberId();
}
/**
* {@inheritDoc}
*/
public function setSubscriber(\MailPoet\Entities\SubscriberEntity $subscriber)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSubscriber', [$subscriber]);
return parent::setSubscriber($subscriber);
}
/**
* {@inheritDoc}
*/
public function resetToUnprocessed()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'resetToUnprocessed', []);
return parent::resetToUnprocessed();
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,453 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class SegmentEntity extends \MailPoet\Entities\SegmentEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'type', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'description', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'dynamicFilters', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'averageEngagementScore', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'averageEngagementScoreUpdatedAt', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'displayInManageSubscriptionPage', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'updatedAt', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'deletedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'type', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'description', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'dynamicFilters', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'averageEngagementScore', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'averageEngagementScoreUpdatedAt', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'displayInManageSubscriptionPage', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'updatedAt', '' . "\0" . 'MailPoet\\Entities\\SegmentEntity' . "\0" . 'deletedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (SegmentEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
* {@inheritDoc}
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
parent::__clone();
}
/**
* Forces initialization of the proxy
*/
public function __load(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getType()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getType', []);
return parent::getType();
}
/**
* {@inheritDoc}
*/
public function setType($type)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setType', [$type]);
return parent::setType($type);
}
/**
* {@inheritDoc}
*/
public function getDescription()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', []);
return parent::getDescription();
}
/**
* {@inheritDoc}
*/
public function setDescription($description)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', [$description]);
return parent::setDescription($description);
}
/**
* {@inheritDoc}
*/
public function getDynamicFilters()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDynamicFilters', []);
return parent::getDynamicFilters();
}
/**
* {@inheritDoc}
*/
public function addDynamicFilter(\MailPoet\Entities\DynamicSegmentFilterEntity $dynamicSegmentFilterEntity)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addDynamicFilter', [$dynamicSegmentFilterEntity]);
return parent::addDynamicFilter($dynamicSegmentFilterEntity);
}
/**
* {@inheritDoc}
*/
public function isStatic(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isStatic', []);
return parent::isStatic();
}
/**
* {@inheritDoc}
*/
public function getAverageEngagementScore(): ?float
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAverageEngagementScore', []);
return parent::getAverageEngagementScore();
}
/**
* {@inheritDoc}
*/
public function setAverageEngagementScore(?float $averageEngagementScore): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAverageEngagementScore', [$averageEngagementScore]);
parent::setAverageEngagementScore($averageEngagementScore);
}
/**
* {@inheritDoc}
*/
public function getAverageEngagementScoreUpdatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAverageEngagementScoreUpdatedAt', []);
return parent::getAverageEngagementScoreUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setAverageEngagementScoreUpdatedAt(?\DateTimeInterface $averageEngagementScoreUpdatedAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAverageEngagementScoreUpdatedAt', [$averageEngagementScoreUpdatedAt]);
parent::setAverageEngagementScoreUpdatedAt($averageEngagementScoreUpdatedAt);
}
/**
* {@inheritDoc}
*/
public function getDisplayInManageSubscriptionPage(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDisplayInManageSubscriptionPage', []);
return parent::getDisplayInManageSubscriptionPage();
}
/**
* {@inheritDoc}
*/
public function setDisplayInManageSubscriptionPage(bool $state): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDisplayInManageSubscriptionPage', [$state]);
parent::setDisplayInManageSubscriptionPage($state);
}
/**
* {@inheritDoc}
*/
public function getFiltersConnectOperator(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFiltersConnectOperator', []);
return parent::getFiltersConnectOperator();
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
/**
* {@inheritDoc}
*/
public function getDeletedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeletedAt', []);
return parent::getDeletedAt();
}
/**
* {@inheritDoc}
*/
public function setDeletedAt($deletedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeletedAt', [$deletedAt]);
return parent::setDeletedAt($deletedAt);
}
}
@@ -0,0 +1,459 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class SendingQueueEntity extends \MailPoet\Entities\SendingQueueEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @param string $name
*/
public function __get($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__get', [$name]);
return parent::__get($name);
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
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'];
}
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'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (SendingQueueEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getNewsletterRenderedBody()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletterRenderedBody', []);
return parent::getNewsletterRenderedBody();
}
/**
* {@inheritDoc}
*/
public function setNewsletterRenderedBody($newsletterRenderedBody)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNewsletterRenderedBody', [$newsletterRenderedBody]);
return parent::setNewsletterRenderedBody($newsletterRenderedBody);
}
/**
* {@inheritDoc}
*/
public function getNewsletterRenderedSubject()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletterRenderedSubject', []);
return parent::getNewsletterRenderedSubject();
}
/**
* {@inheritDoc}
*/
public function setNewsletterRenderedSubject($newsletterRenderedSubject)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNewsletterRenderedSubject', [$newsletterRenderedSubject]);
return parent::setNewsletterRenderedSubject($newsletterRenderedSubject);
}
/**
* {@inheritDoc}
*/
public function getCountTotal()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCountTotal', []);
return parent::getCountTotal();
}
/**
* {@inheritDoc}
*/
public function setCountTotal($countTotal)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCountTotal', [$countTotal]);
return parent::setCountTotal($countTotal);
}
/**
* {@inheritDoc}
*/
public function getCountProcessed()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCountProcessed', []);
return parent::getCountProcessed();
}
/**
* {@inheritDoc}
*/
public function setCountProcessed($countProcessed)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCountProcessed', [$countProcessed]);
return parent::setCountProcessed($countProcessed);
}
/**
* {@inheritDoc}
*/
public function getCountToProcess()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCountToProcess', []);
return parent::getCountToProcess();
}
/**
* {@inheritDoc}
*/
public function setCountToProcess($countToProcess)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCountToProcess', [$countToProcess]);
return parent::setCountToProcess($countToProcess);
}
/**
* {@inheritDoc}
*/
public function getMeta()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMeta', []);
return parent::getMeta();
}
/**
* {@inheritDoc}
*/
public function setMeta($meta)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMeta', [$meta]);
return parent::setMeta($meta);
}
/**
* {@inheritDoc}
*/
public function getTask()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTask', []);
return parent::getTask();
}
/**
* {@inheritDoc}
*/
public function setTask(\MailPoet\Entities\ScheduledTaskEntity $task)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTask', [$task]);
return parent::setTask($task);
}
/**
* {@inheritDoc}
*/
public function getNewsletter()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletter', []);
return parent::getNewsletter();
}
/**
* {@inheritDoc}
*/
public function setNewsletter(\MailPoet\Entities\NewsletterEntity $newsletter)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNewsletter', [$newsletter]);
return parent::setNewsletter($newsletter);
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
/**
* {@inheritDoc}
*/
public function getDeletedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeletedAt', []);
return parent::getDeletedAt();
}
/**
* {@inheritDoc}
*/
public function setDeletedAt($deletedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeletedAt', [$deletedAt]);
return parent::setDeletedAt($deletedAt);
}
}
@@ -0,0 +1,297 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class SettingEntity extends \MailPoet\Entities\SettingEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\SettingEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\SettingEntity' . "\0" . 'value', '' . "\0" . 'MailPoet\\Entities\\SettingEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\SettingEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\SettingEntity' . "\0" . 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\SettingEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\SettingEntity' . "\0" . 'value', '' . "\0" . 'MailPoet\\Entities\\SettingEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\SettingEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\SettingEntity' . "\0" . 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (SettingEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getValue()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getValue', []);
return parent::getValue();
}
/**
* {@inheritDoc}
*/
public function setValue($value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setValue', [$value]);
return parent::setValue($value);
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,231 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class StatisticsBounceEntity extends \MailPoet\Entities\StatisticsBounceEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\StatisticsBounceEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\StatisticsBounceEntity' . "\0" . 'queue', '' . "\0" . 'MailPoet\\Entities\\StatisticsBounceEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\StatisticsBounceEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\StatisticsBounceEntity' . "\0" . 'createdAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\StatisticsBounceEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\StatisticsBounceEntity' . "\0" . 'queue', '' . "\0" . 'MailPoet\\Entities\\StatisticsBounceEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\StatisticsBounceEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\StatisticsBounceEntity' . "\0" . 'createdAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (StatisticsBounceEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
}
@@ -0,0 +1,418 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class StatisticsClickEntity extends \MailPoet\Entities\StatisticsClickEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
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'];
}
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'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (StatisticsClickEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getNewsletter()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletter', []);
return parent::getNewsletter();
}
/**
* {@inheritDoc}
*/
public function getQueue()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getQueue', []);
return parent::getQueue();
}
/**
* {@inheritDoc}
*/
public function getLink()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLink', []);
return parent::getLink();
}
/**
* {@inheritDoc}
*/
public function setNewsletter($newsletter)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNewsletter', [$newsletter]);
return parent::setNewsletter($newsletter);
}
/**
* {@inheritDoc}
*/
public function setQueue($queue)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setQueue', [$queue]);
return parent::setQueue($queue);
}
/**
* {@inheritDoc}
*/
public function setSubscriber($subscriber)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSubscriber', [$subscriber]);
return parent::setSubscriber($subscriber);
}
/**
* {@inheritDoc}
*/
public function getSubscriber(): ?\MailPoet\Entities\SubscriberEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscriber', []);
return parent::getSubscriber();
}
/**
* {@inheritDoc}
*/
public function setLink($link)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLink', [$link]);
return parent::setLink($link);
}
/**
* {@inheritDoc}
*/
public function setCount(int $count)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCount', [$count]);
return parent::setCount($count);
}
/**
* {@inheritDoc}
*/
public function getWooCommercePurchases()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getWooCommercePurchases', []);
return parent::getWooCommercePurchases();
}
/**
* {@inheritDoc}
*/
public function getCount(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCount', []);
return parent::getCount();
}
/**
* {@inheritDoc}
*/
public function getUserAgent(): ?\MailPoet\Entities\UserAgentEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserAgent', []);
return parent::getUserAgent();
}
/**
* {@inheritDoc}
*/
public function setUserAgent(?\MailPoet\Entities\UserAgentEntity $userAgent): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUserAgent', [$userAgent]);
parent::setUserAgent($userAgent);
}
/**
* {@inheritDoc}
*/
public function getUserAgentType(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserAgentType', []);
return parent::getUserAgentType();
}
/**
* {@inheritDoc}
*/
public function setUserAgentType(int $userAgentType): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUserAgentType', [$userAgentType]);
parent::setUserAgentType($userAgentType);
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,253 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class StatisticsFormEntity extends \MailPoet\Entities\StatisticsFormEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\StatisticsFormEntity' . "\0" . 'form', '' . "\0" . 'MailPoet\\Entities\\StatisticsFormEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\StatisticsFormEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\StatisticsFormEntity' . "\0" . 'createdAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\StatisticsFormEntity' . "\0" . 'form', '' . "\0" . 'MailPoet\\Entities\\StatisticsFormEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\StatisticsFormEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\StatisticsFormEntity' . "\0" . 'createdAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (StatisticsFormEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getForm(): ?\MailPoet\Entities\FormEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getForm', []);
return parent::getForm();
}
/**
* {@inheritDoc}
*/
public function getSubscriber(): ?\MailPoet\Entities\SubscriberEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscriber', []);
return parent::getSubscriber();
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
}
@@ -0,0 +1,264 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class StatisticsNewsletterEntity extends \MailPoet\Entities\StatisticsNewsletterEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\StatisticsNewsletterEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\StatisticsNewsletterEntity' . "\0" . 'queue', '' . "\0" . 'MailPoet\\Entities\\StatisticsNewsletterEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\StatisticsNewsletterEntity' . "\0" . 'sentAt', '' . "\0" . 'MailPoet\\Entities\\StatisticsNewsletterEntity' . "\0" . 'id'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\StatisticsNewsletterEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\StatisticsNewsletterEntity' . "\0" . 'queue', '' . "\0" . 'MailPoet\\Entities\\StatisticsNewsletterEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\StatisticsNewsletterEntity' . "\0" . 'sentAt', '' . "\0" . 'MailPoet\\Entities\\StatisticsNewsletterEntity' . "\0" . 'id'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (StatisticsNewsletterEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getNewsletter()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletter', []);
return parent::getNewsletter();
}
/**
* {@inheritDoc}
*/
public function getQueue()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getQueue', []);
return parent::getQueue();
}
/**
* {@inheritDoc}
*/
public function getSubscriber()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscriber', []);
return parent::getSubscriber();
}
/**
* {@inheritDoc}
*/
public function getSentAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSentAt', []);
return parent::getSentAt();
}
/**
* {@inheritDoc}
*/
public function setSentAt(\DateTimeInterface $sentAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSentAt', [$sentAt]);
return parent::setSentAt($sentAt);
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
}
@@ -0,0 +1,330 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class StatisticsOpenEntity extends \MailPoet\Entities\StatisticsOpenEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\StatisticsOpenEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\StatisticsOpenEntity' . "\0" . 'queue', '' . "\0" . 'MailPoet\\Entities\\StatisticsOpenEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\StatisticsOpenEntity' . "\0" . 'userAgent', '' . "\0" . 'MailPoet\\Entities\\StatisticsOpenEntity' . "\0" . 'userAgentType', '' . "\0" . 'MailPoet\\Entities\\StatisticsOpenEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\StatisticsOpenEntity' . "\0" . 'createdAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\StatisticsOpenEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\StatisticsOpenEntity' . "\0" . 'queue', '' . "\0" . 'MailPoet\\Entities\\StatisticsOpenEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\StatisticsOpenEntity' . "\0" . 'userAgent', '' . "\0" . 'MailPoet\\Entities\\StatisticsOpenEntity' . "\0" . 'userAgentType', '' . "\0" . 'MailPoet\\Entities\\StatisticsOpenEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\StatisticsOpenEntity' . "\0" . 'createdAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (StatisticsOpenEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getNewsletter()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletter', []);
return parent::getNewsletter();
}
/**
* {@inheritDoc}
*/
public function getQueue()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getQueue', []);
return parent::getQueue();
}
/**
* {@inheritDoc}
*/
public function setNewsletter($newsletter)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNewsletter', [$newsletter]);
return parent::setNewsletter($newsletter);
}
/**
* {@inheritDoc}
*/
public function setQueue($queue)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setQueue', [$queue]);
return parent::setQueue($queue);
}
/**
* {@inheritDoc}
*/
public function setSubscriber($subscriber)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSubscriber', [$subscriber]);
return parent::setSubscriber($subscriber);
}
/**
* {@inheritDoc}
*/
public function getUserAgent(): ?\MailPoet\Entities\UserAgentEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserAgent', []);
return parent::getUserAgent();
}
/**
* {@inheritDoc}
*/
public function setUserAgent(?\MailPoet\Entities\UserAgentEntity $userAgent): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUserAgent', [$userAgent]);
parent::setUserAgent($userAgent);
}
/**
* {@inheritDoc}
*/
public function getUserAgentType(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserAgentType', []);
return parent::getUserAgentType();
}
/**
* {@inheritDoc}
*/
public function setUserAgentType(int $userAgentType): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUserAgentType', [$userAgentType]);
parent::setUserAgentType($userAgentType);
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
}
@@ -0,0 +1,319 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class StatisticsUnsubscribeEntity extends \MailPoet\Entities\StatisticsUnsubscribeEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\StatisticsUnsubscribeEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\StatisticsUnsubscribeEntity' . "\0" . 'queue', '' . "\0" . 'MailPoet\\Entities\\StatisticsUnsubscribeEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\StatisticsUnsubscribeEntity' . "\0" . 'source', '' . "\0" . 'MailPoet\\Entities\\StatisticsUnsubscribeEntity' . "\0" . 'meta', '' . "\0" . 'MailPoet\\Entities\\StatisticsUnsubscribeEntity' . "\0" . 'method', '' . "\0" . 'MailPoet\\Entities\\StatisticsUnsubscribeEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\StatisticsUnsubscribeEntity' . "\0" . 'createdAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\StatisticsUnsubscribeEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\StatisticsUnsubscribeEntity' . "\0" . 'queue', '' . "\0" . 'MailPoet\\Entities\\StatisticsUnsubscribeEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\StatisticsUnsubscribeEntity' . "\0" . 'source', '' . "\0" . 'MailPoet\\Entities\\StatisticsUnsubscribeEntity' . "\0" . 'meta', '' . "\0" . 'MailPoet\\Entities\\StatisticsUnsubscribeEntity' . "\0" . 'method', '' . "\0" . 'MailPoet\\Entities\\StatisticsUnsubscribeEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\StatisticsUnsubscribeEntity' . "\0" . 'createdAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (StatisticsUnsubscribeEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getNewsletter()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletter', []);
return parent::getNewsletter();
}
/**
* {@inheritDoc}
*/
public function getQueue()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getQueue', []);
return parent::getQueue();
}
/**
* {@inheritDoc}
*/
public function getSource(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSource', []);
return parent::getSource();
}
/**
* {@inheritDoc}
*/
public function setSource(string $source)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSource', [$source]);
return parent::setSource($source);
}
/**
* {@inheritDoc}
*/
public function setMeta(string $meta)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMeta', [$meta]);
return parent::setMeta($meta);
}
/**
* {@inheritDoc}
*/
public function getMeta()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMeta', []);
return parent::getMeta();
}
/**
* {@inheritDoc}
*/
public function setMethod(string $method)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMethod', [$method]);
return parent::setMethod($method);
}
/**
* {@inheritDoc}
*/
public function getMethod(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMethod', []);
return parent::getMethod();
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
}
@@ -0,0 +1,385 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class StatisticsWooCommercePurchaseEntity extends \MailPoet\Entities\StatisticsWooCommercePurchaseEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'queue', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'click', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'orderId', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'orderCurrency', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'orderPriceTotal', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'status', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'newsletter', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'queue', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'click', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'orderId', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'orderCurrency', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'orderPriceTotal', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'status', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\StatisticsWooCommercePurchaseEntity' . "\0" . 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (StatisticsWooCommercePurchaseEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getNewsletter(): ?\MailPoet\Entities\NewsletterEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletter', []);
return parent::getNewsletter();
}
/**
* {@inheritDoc}
*/
public function getQueue(): ?\MailPoet\Entities\SendingQueueEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getQueue', []);
return parent::getQueue();
}
/**
* {@inheritDoc}
*/
public function getSubscriber(): ?\MailPoet\Entities\SubscriberEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscriber', []);
return parent::getSubscriber();
}
/**
* {@inheritDoc}
*/
public function getClick(): ?\MailPoet\Entities\StatisticsClickEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getClick', []);
return parent::getClick();
}
/**
* {@inheritDoc}
*/
public function getOrderId(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOrderId', []);
return parent::getOrderId();
}
/**
* {@inheritDoc}
*/
public function setSubscriber(?\MailPoet\Entities\SubscriberEntity $subscriber)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSubscriber', [$subscriber]);
return parent::setSubscriber($subscriber);
}
/**
* {@inheritDoc}
*/
public function getOrderCurrency(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOrderCurrency', []);
return parent::getOrderCurrency();
}
/**
* {@inheritDoc}
*/
public function getOrderPriceTotal(): float
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOrderPriceTotal', []);
return parent::getOrderPriceTotal();
}
/**
* {@inheritDoc}
*/
public function setOrderCurrency(string $orderCurrency): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setOrderCurrency', [$orderCurrency]);
parent::setOrderCurrency($orderCurrency);
}
/**
* {@inheritDoc}
*/
public function setOrderPriceTotal(float $orderPriceTotal): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setOrderPriceTotal', [$orderPriceTotal]);
parent::setOrderPriceTotal($orderPriceTotal);
}
/**
* {@inheritDoc}
*/
public function getStatus(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatus', []);
return parent::getStatus();
}
/**
* {@inheritDoc}
*/
public function setStatus(string $status): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setStatus', [$status]);
parent::setStatus($status);
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,275 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class StatsNotificationEntity extends \MailPoet\Entities\StatsNotificationEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
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'];
}
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'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (StatsNotificationEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getNewsletter()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNewsletter', []);
return parent::getNewsletter();
}
/**
* {@inheritDoc}
*/
public function getTask()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTask', []);
return parent::getTask();
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,297 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class SubscriberCustomFieldEntity extends \MailPoet\Entities\SubscriberCustomFieldEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\SubscriberCustomFieldEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\SubscriberCustomFieldEntity' . "\0" . 'customField', '' . "\0" . 'MailPoet\\Entities\\SubscriberCustomFieldEntity' . "\0" . 'value', '' . "\0" . 'MailPoet\\Entities\\SubscriberCustomFieldEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\SubscriberCustomFieldEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberCustomFieldEntity' . "\0" . 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\SubscriberCustomFieldEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\SubscriberCustomFieldEntity' . "\0" . 'customField', '' . "\0" . 'MailPoet\\Entities\\SubscriberCustomFieldEntity' . "\0" . 'value', '' . "\0" . 'MailPoet\\Entities\\SubscriberCustomFieldEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\SubscriberCustomFieldEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberCustomFieldEntity' . "\0" . 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (SubscriberCustomFieldEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getSubscriber()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscriber', []);
return parent::getSubscriber();
}
/**
* {@inheritDoc}
*/
public function getValue(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getValue', []);
return parent::getValue();
}
/**
* {@inheritDoc}
*/
public function getCustomField()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCustomField', []);
return parent::getCustomField();
}
/**
* {@inheritDoc}
*/
public function setValue($value): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setValue', [$value]);
parent::setValue($value);
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,943 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class SubscriberEntity extends \MailPoet\Entities\SubscriberEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @param string $name
*/
public function __get($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__get', [$name]);
return parent::__get($name);
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'wpUserId', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'isWoocommerceUser', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'firstName', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'lastName', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'email', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'status', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'subscribedIp', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'confirmedIp', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'confirmedAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'lastSubscribedAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'unconfirmedData', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'source', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'countConfirmations', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'unsubscribeToken', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'linkToken', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'engagementScore', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'engagementScoreUpdatedAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'lastEngagementAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'lastSendingAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'lastOpenAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'lastClickAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'lastPurchaseAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'lastPageViewAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'woocommerceSyncedAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'emailCount', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'subscriberSegments', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'subscriberCustomFields', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'subscriberTags', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'scheduledTaskSubscribers', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'updatedAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'deletedAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'validationGroups'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'wpUserId', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'isWoocommerceUser', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'firstName', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'lastName', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'email', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'status', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'subscribedIp', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'confirmedIp', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'confirmedAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'lastSubscribedAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'unconfirmedData', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'source', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'countConfirmations', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'unsubscribeToken', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'linkToken', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'engagementScore', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'engagementScoreUpdatedAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'lastEngagementAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'lastSendingAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'lastOpenAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'lastClickAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'lastPurchaseAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'lastPageViewAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'woocommerceSyncedAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'emailCount', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'subscriberSegments', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'subscriberCustomFields', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'subscriberTags', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'scheduledTaskSubscribers', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'updatedAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'deletedAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberEntity' . "\0" . 'validationGroups'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (SubscriberEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getWpUserId()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getWpUserId', []);
return parent::getWpUserId();
}
/**
* {@inheritDoc}
*/
public function setWpUserId($wpUserId)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setWpUserId', [$wpUserId]);
return parent::setWpUserId($wpUserId);
}
/**
* {@inheritDoc}
*/
public function isWPUser(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isWPUser', []);
return parent::isWPUser();
}
/**
* {@inheritDoc}
*/
public function getIsWoocommerceUser()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsWoocommerceUser', []);
return parent::getIsWoocommerceUser();
}
/**
* {@inheritDoc}
*/
public function setIsWoocommerceUser($isWoocommerceUser)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsWoocommerceUser', [$isWoocommerceUser]);
return parent::setIsWoocommerceUser($isWoocommerceUser);
}
/**
* {@inheritDoc}
*/
public function getFirstName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFirstName', []);
return parent::getFirstName();
}
/**
* {@inheritDoc}
*/
public function setFirstName($firstName)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFirstName', [$firstName]);
return parent::setFirstName($firstName);
}
/**
* {@inheritDoc}
*/
public function getLastName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastName', []);
return parent::getLastName();
}
/**
* {@inheritDoc}
*/
public function setLastName($lastName)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastName', [$lastName]);
return parent::setLastName($lastName);
}
/**
* {@inheritDoc}
*/
public function getEmail()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmail', []);
return parent::getEmail();
}
/**
* {@inheritDoc}
*/
public function setEmail($email)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmail', [$email]);
return parent::setEmail($email);
}
/**
* {@inheritDoc}
*/
public function getStatus()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatus', []);
return parent::getStatus();
}
/**
* {@inheritDoc}
*/
public function setStatus($status)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setStatus', [$status]);
return parent::setStatus($status);
}
/**
* {@inheritDoc}
*/
public function getSubscribedIp()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscribedIp', []);
return parent::getSubscribedIp();
}
/**
* {@inheritDoc}
*/
public function setSubscribedIp($subscribedIp)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSubscribedIp', [$subscribedIp]);
return parent::setSubscribedIp($subscribedIp);
}
/**
* {@inheritDoc}
*/
public function getConfirmedIp()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getConfirmedIp', []);
return parent::getConfirmedIp();
}
/**
* {@inheritDoc}
*/
public function setConfirmedIp($confirmedIp)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setConfirmedIp', [$confirmedIp]);
return parent::setConfirmedIp($confirmedIp);
}
/**
* {@inheritDoc}
*/
public function getConfirmedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getConfirmedAt', []);
return parent::getConfirmedAt();
}
/**
* {@inheritDoc}
*/
public function setConfirmedAt($confirmedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setConfirmedAt', [$confirmedAt]);
return parent::setConfirmedAt($confirmedAt);
}
/**
* {@inheritDoc}
*/
public function getLastSubscribedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastSubscribedAt', []);
return parent::getLastSubscribedAt();
}
/**
* {@inheritDoc}
*/
public function setLastSubscribedAt($lastSubscribedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastSubscribedAt', [$lastSubscribedAt]);
return parent::setLastSubscribedAt($lastSubscribedAt);
}
/**
* {@inheritDoc}
*/
public function getUnconfirmedData()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUnconfirmedData', []);
return parent::getUnconfirmedData();
}
/**
* {@inheritDoc}
*/
public function setUnconfirmedData($unconfirmedData)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUnconfirmedData', [$unconfirmedData]);
return parent::setUnconfirmedData($unconfirmedData);
}
/**
* {@inheritDoc}
*/
public function getSource()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSource', []);
return parent::getSource();
}
/**
* {@inheritDoc}
*/
public function setSource($source)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSource', [$source]);
return parent::setSource($source);
}
/**
* {@inheritDoc}
*/
public function getConfirmationsCount()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getConfirmationsCount', []);
return parent::getConfirmationsCount();
}
/**
* {@inheritDoc}
*/
public function setConfirmationsCount($countConfirmations)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setConfirmationsCount', [$countConfirmations]);
return parent::setConfirmationsCount($countConfirmations);
}
/**
* {@inheritDoc}
*/
public function getUnsubscribeToken()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUnsubscribeToken', []);
return parent::getUnsubscribeToken();
}
/**
* {@inheritDoc}
*/
public function setUnsubscribeToken($unsubscribeToken)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUnsubscribeToken', [$unsubscribeToken]);
return parent::setUnsubscribeToken($unsubscribeToken);
}
/**
* {@inheritDoc}
*/
public function getLinkToken()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLinkToken', []);
return parent::getLinkToken();
}
/**
* {@inheritDoc}
*/
public function setLinkToken($linkToken)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLinkToken', [$linkToken]);
return parent::setLinkToken($linkToken);
}
/**
* {@inheritDoc}
*/
public function getSubscriberSegments(string $status = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscriberSegments', [$status]);
return parent::getSubscriberSegments($status);
}
/**
* {@inheritDoc}
*/
public function getSegments()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSegments', []);
return parent::getSegments();
}
/**
* {@inheritDoc}
*/
public function getSubscriberCustomFields()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscriberCustomFields', []);
return parent::getSubscriberCustomFields();
}
/**
* {@inheritDoc}
*/
public function getSubscriberCustomField(\MailPoet\Entities\CustomFieldEntity $customField): ?\MailPoet\Entities\SubscriberCustomFieldEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscriberCustomField', [$customField]);
return parent::getSubscriberCustomField($customField);
}
/**
* {@inheritDoc}
*/
public function getSubscriberTags()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscriberTags', []);
return parent::getSubscriberTags();
}
/**
* {@inheritDoc}
*/
public function getSubscriberTag(\MailPoet\Entities\TagEntity $tag): ?\MailPoet\Entities\SubscriberTagEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscriberTag', [$tag]);
return parent::getSubscriberTag($tag);
}
/**
* {@inheritDoc}
*/
public function getEngagementScore(): ?float
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEngagementScore', []);
return parent::getEngagementScore();
}
/**
* {@inheritDoc}
*/
public function setEngagementScore(?float $engagementScore): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEngagementScore', [$engagementScore]);
parent::setEngagementScore($engagementScore);
}
/**
* {@inheritDoc}
*/
public function getEngagementScoreUpdatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEngagementScoreUpdatedAt', []);
return parent::getEngagementScoreUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setEngagementScoreUpdatedAt(?\DateTimeInterface $engagementScoreUpdatedAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEngagementScoreUpdatedAt', [$engagementScoreUpdatedAt]);
parent::setEngagementScoreUpdatedAt($engagementScoreUpdatedAt);
}
/**
* {@inheritDoc}
*/
public function getLastEngagementAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastEngagementAt', []);
return parent::getLastEngagementAt();
}
/**
* {@inheritDoc}
*/
public function setLastEngagementAt(\DateTimeInterface $lastEngagementAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastEngagementAt', [$lastEngagementAt]);
parent::setLastEngagementAt($lastEngagementAt);
}
/**
* {@inheritDoc}
*/
public function getLastSendingAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastSendingAt', []);
return parent::getLastSendingAt();
}
/**
* {@inheritDoc}
*/
public function setLastSendingAt(?\DateTimeInterface $dateTime): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastSendingAt', [$dateTime]);
parent::setLastSendingAt($dateTime);
}
/**
* {@inheritDoc}
*/
public function getLastOpenAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastOpenAt', []);
return parent::getLastOpenAt();
}
/**
* {@inheritDoc}
*/
public function setLastOpenAt(?\DateTimeInterface $dateTime): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastOpenAt', [$dateTime]);
parent::setLastOpenAt($dateTime);
}
/**
* {@inheritDoc}
*/
public function getLastClickAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastClickAt', []);
return parent::getLastClickAt();
}
/**
* {@inheritDoc}
*/
public function setLastClickAt(?\DateTimeInterface $dateTime): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastClickAt', [$dateTime]);
parent::setLastClickAt($dateTime);
}
/**
* {@inheritDoc}
*/
public function getLastPurchaseAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastPurchaseAt', []);
return parent::getLastPurchaseAt();
}
/**
* {@inheritDoc}
*/
public function setLastPurchaseAt(?\DateTimeInterface $dateTime): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastPurchaseAt', [$dateTime]);
parent::setLastPurchaseAt($dateTime);
}
/**
* {@inheritDoc}
*/
public function getLastPageViewAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastPageViewAt', []);
return parent::getLastPageViewAt();
}
/**
* {@inheritDoc}
*/
public function setLastPageViewAt(?\DateTimeInterface $dateTime): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastPageViewAt', [$dateTime]);
parent::setLastPageViewAt($dateTime);
}
/**
* {@inheritDoc}
*/
public function setWoocommerceSyncedAt(?\DateTimeInterface $woocommerceSyncedAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setWoocommerceSyncedAt', [$woocommerceSyncedAt]);
parent::setWoocommerceSyncedAt($woocommerceSyncedAt);
}
/**
* {@inheritDoc}
*/
public function getWoocommerceSyncedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getWoocommerceSyncedAt', []);
return parent::getWoocommerceSyncedAt();
}
/**
* {@inheritDoc}
*/
public function getEmailCount(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmailCount', []);
return parent::getEmailCount();
}
/**
* {@inheritDoc}
*/
public function setEmailCount(int $emailCount): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmailCount', [$emailCount]);
parent::setEmailCount($emailCount);
}
/**
* {@inheritDoc}
*/
public function cleanupSubscriberSegments(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'cleanupSubscriberSegments', []);
parent::cleanupSubscriberSegments();
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
/**
* {@inheritDoc}
*/
public function getDeletedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeletedAt', []);
return parent::getDeletedAt();
}
/**
* {@inheritDoc}
*/
public function setDeletedAt($deletedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeletedAt', [$deletedAt]);
return parent::setDeletedAt($deletedAt);
}
/**
* {@inheritDoc}
*/
public function getValidationGroups(): ?array
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getValidationGroups', []);
return parent::getValidationGroups();
}
/**
* {@inheritDoc}
*/
public function setValidationGroups(?array $validationGroups): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setValidationGroups', [$validationGroups]);
parent::setValidationGroups($validationGroups);
}
}
@@ -0,0 +1,220 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class SubscriberIPEntity extends \MailPoet\Entities\SubscriberIPEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\SubscriberIPEntity' . "\0" . 'ip', '' . "\0" . 'MailPoet\\Entities\\SubscriberIPEntity' . "\0" . 'createdAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\SubscriberIPEntity' . "\0" . 'ip', '' . "\0" . 'MailPoet\\Entities\\SubscriberIPEntity' . "\0" . 'createdAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (SubscriberIPEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getIP(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIP', []);
return parent::getIP();
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): \DateTimeInterface
{
if ($this->__isInitialized__ === false) {
return parent::getCreatedAt();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
}
@@ -0,0 +1,297 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class SubscriberSegmentEntity extends \MailPoet\Entities\SubscriberSegmentEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\SubscriberSegmentEntity' . "\0" . 'segment', '' . "\0" . 'MailPoet\\Entities\\SubscriberSegmentEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\SubscriberSegmentEntity' . "\0" . 'status', '' . "\0" . 'MailPoet\\Entities\\SubscriberSegmentEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\SubscriberSegmentEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberSegmentEntity' . "\0" . 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\SubscriberSegmentEntity' . "\0" . 'segment', '' . "\0" . 'MailPoet\\Entities\\SubscriberSegmentEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\SubscriberSegmentEntity' . "\0" . 'status', '' . "\0" . 'MailPoet\\Entities\\SubscriberSegmentEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\SubscriberSegmentEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberSegmentEntity' . "\0" . 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (SubscriberSegmentEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getSegment()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSegment', []);
return parent::getSegment();
}
/**
* {@inheritDoc}
*/
public function getSubscriber()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscriber', []);
return parent::getSubscriber();
}
/**
* {@inheritDoc}
*/
public function getStatus(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getStatus', []);
return parent::getStatus();
}
/**
* {@inheritDoc}
*/
public function setStatus(string $status)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setStatus', [$status]);
return parent::setStatus($status);
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,275 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class SubscriberTagEntity extends \MailPoet\Entities\SubscriberTagEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\SubscriberTagEntity' . "\0" . 'tag', '' . "\0" . 'MailPoet\\Entities\\SubscriberTagEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\SubscriberTagEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\SubscriberTagEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberTagEntity' . "\0" . 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\SubscriberTagEntity' . "\0" . 'tag', '' . "\0" . 'MailPoet\\Entities\\SubscriberTagEntity' . "\0" . 'subscriber', '' . "\0" . 'MailPoet\\Entities\\SubscriberTagEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\SubscriberTagEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\SubscriberTagEntity' . "\0" . 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (SubscriberTagEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getTag(): ?\MailPoet\Entities\TagEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTag', []);
return parent::getTag();
}
/**
* {@inheritDoc}
*/
public function getSubscriber(): ?\MailPoet\Entities\SubscriberEntity
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubscriber', []);
return parent::getSubscriber();
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,297 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class TagEntity extends \MailPoet\Entities\TagEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\TagEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\TagEntity' . "\0" . 'description', '' . "\0" . 'MailPoet\\Entities\\TagEntity' . "\0" . 'subscriberTags', '' . "\0" . 'MailPoet\\Entities\\TagEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\TagEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\TagEntity' . "\0" . 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\TagEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\TagEntity' . "\0" . 'description', '' . "\0" . 'MailPoet\\Entities\\TagEntity' . "\0" . 'subscriberTags', '' . "\0" . 'MailPoet\\Entities\\TagEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\TagEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\TagEntity' . "\0" . 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (TagEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getName(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setName(string $name): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getDescription(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', []);
return parent::getDescription();
}
/**
* {@inheritDoc}
*/
public function setDescription(string $description): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', [$description]);
parent::setDescription($description);
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,297 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class UserAgentEntity extends \MailPoet\Entities\UserAgentEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\UserAgentEntity' . "\0" . 'hash', '' . "\0" . 'MailPoet\\Entities\\UserAgentEntity' . "\0" . 'userAgent', '' . "\0" . 'MailPoet\\Entities\\UserAgentEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\UserAgentEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\UserAgentEntity' . "\0" . 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\UserAgentEntity' . "\0" . 'hash', '' . "\0" . 'MailPoet\\Entities\\UserAgentEntity' . "\0" . 'userAgent', '' . "\0" . 'MailPoet\\Entities\\UserAgentEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\UserAgentEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\UserAgentEntity' . "\0" . 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (UserAgentEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getUserAgent(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserAgent', []);
return parent::getUserAgent();
}
/**
* {@inheritDoc}
*/
public function setUserAgent(string $userAgent): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUserAgent', [$userAgent]);
parent::setUserAgent($userAgent);
}
/**
* {@inheritDoc}
*/
public function getHash(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getHash', []);
return parent::getHash();
}
/**
* {@inheritDoc}
*/
public function getUserAgentType(): int
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserAgentType', []);
return parent::getUserAgentType();
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,319 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class UserFlagEntity extends \MailPoet\Entities\UserFlagEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\UserFlagEntity' . "\0" . 'userId', '' . "\0" . 'MailPoet\\Entities\\UserFlagEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\UserFlagEntity' . "\0" . 'value', '' . "\0" . 'MailPoet\\Entities\\UserFlagEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\UserFlagEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\UserFlagEntity' . "\0" . 'updatedAt'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\UserFlagEntity' . "\0" . 'userId', '' . "\0" . 'MailPoet\\Entities\\UserFlagEntity' . "\0" . 'name', '' . "\0" . 'MailPoet\\Entities\\UserFlagEntity' . "\0" . 'value', '' . "\0" . 'MailPoet\\Entities\\UserFlagEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\UserFlagEntity' . "\0" . 'createdAt', '' . "\0" . 'MailPoet\\Entities\\UserFlagEntity' . "\0" . 'updatedAt'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (UserFlagEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getUserId()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUserId', []);
return parent::getUserId();
}
/**
* {@inheritDoc}
*/
public function setUserId($userId)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUserId', [$userId]);
return parent::setUserId($userId);
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getValue()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getValue', []);
return parent::getValue();
}
/**
* {@inheritDoc}
*/
public function setValue($value)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setValue', [$value]);
return parent::setValue($value);
}
/**
* {@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 setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', [$id]);
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTimeInterface $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
return parent::setUpdatedAt($updatedAt);
}
}
@@ -0,0 +1,220 @@
<?php
namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;
if (!defined('ABSPATH')) exit;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class WpPostEntity extends \MailPoet\Entities\WpPostEntity implements \MailPoetVendor\Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\WpPostEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\WpPostEntity' . "\0" . 'postTitle'];
}
return ['__isInitialized__', '' . "\0" . 'MailPoet\\Entities\\WpPostEntity' . "\0" . 'id', '' . "\0" . 'MailPoet\\Entities\\WpPostEntity' . "\0" . 'postTitle'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (WpPostEntity $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults 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(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId(): int
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function getPostTitle(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPostTitle', []);
return parent::getPostTitle();
}
/**
* {@inheritDoc}
*/
public function getWpPostInstance()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getWpPostInstance', []);
return parent::getWpPostInstance();
}
}
@@ -0,0 +1 @@
<?php