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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
<?php
@@ -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
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,83 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/text/widget.hbs */
class __TwigTemplate_de84f1cd61c1dbe348ba9c21d643ad8681c50ded23e706348d8c974c73528169 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_widget_icon\">
";
// line 2
yield MailPoetVendor\Twig\Extension\CoreExtension::source($this->env, "newsletter/templates/svg/block-icons/text.svg");
yield "
</div>
<div class=\"mailpoet_widget_title\">";
// line 4
yield $this->extensions['MailPoet\Twig\I18n']->translate("Text");
yield "</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/text/widget.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 46 => 4, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/text/widget.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/text/widget.hbs");
}
}
@@ -0,0 +1,86 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/container/block.hbs */
class __TwigTemplate_c5b2baad656ba71f0ebbe0b70ca8d928767c64a4ecddb4ec13dcabe4bec1b326 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
yield "{{#if model.image.src}}
<style type=\"text/css\">
.mailpoet_editor_view_{{ viewCid }} {
background-color: {{#ifCond model.styles.block.backgroundColor '!=' 'transparent'}}{{ model.styles.block.backgroundColor }}{{else}}#ffffff{{/ifCond}} !important;
background-image: url({{ model.image.src }});
background-position: center;
background-repeat: {{#ifCond model.image.display '==' 'tile'}}repeat{{else}}no-repeat{{/ifCond}};
background-size: {{#ifCond model.image.display '==' 'scale'}}cover{{else}}contain{{/ifCond}};
}
.mailpoet_editor_view_{{ viewCid }} .mailpoet_container { background: transparent; }
</style>
{{else}}
{{#ifCond model.styles.block.backgroundColor '!=' 'transparent'}}
<style type=\"text/css\">
.mailpoet_editor_view_{{ viewCid }} { background-color: {{ model.styles.block.backgroundColor }}; }
.mailpoet_editor_view_{{ viewCid }} .mailpoet_container { background-color: {{ model.styles.block.backgroundColor }}; }
</style>
{{/ifCond}}
{{/if}}
<div class=\"mailpoet_container {{#ifCond model.orientation '===' 'horizontal'}}mailpoet_container_horizontal{{/ifCond}}{{#ifCond model.orientation '===' 'vertical'}}mailpoet_container_vertical{{/ifCond}}\"></div>
<div class=\"mailpoet_tools\"></div><div class=\"mailpoet_block_highlight\">
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/container/block.hbs";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ();
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/container/block.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/container/block.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,92 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/components/history.hbs */
class __TwigTemplate_79810918dede10b67349ebd5005561b67aec3910cc375e8ac5a9175e7ad92e4b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_history_wrapper\">
<a id=\"mailpoet-history-arrow-undo\" class=\"mailpoet_history_arrow\">
<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"miter\" fill=\"none\">
<path d=\"M5,17 L5,15 C5,10.0294373 8.80557963,6 13.5,6 C18.1944204,6 22,10.0294373 22,15\"/>
<polyline points=\"8 15 5 18 2 15\"/>
</svg>
</a>
<a id=\"mailpoet-history-arrow-redo\" class=\"mailpoet_history_arrow\">
<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"miter\" fill=\"none\">
<path d=\"M19,17 L19,15 C19,10.0294373 15.1944204,6 10.5,6 C5.80557963,6 2,10.0294373 2,15\"/>
<polyline points=\"16 15 19 18 22 15\"/>
</svg>
</a>
<input type=\"button\" id=\"mailpoet-history-reset-template\" class=\"button-link mailpoet_reset_template mailpoet_hidden\" value=\"";
// line 15
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Reset template"), "html_attr");
yield "\" />
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/components/history.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 54 => 15, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/components/history.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/components/history.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,199 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* form/custom_fields_legacy.html */
class __TwigTemplate_e8157be6d3c1ea26ac50aff90bbbee2f89ea00cb3e7ca20d733f2850ddba43fe extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<!-- date settings and block templates -->
";
// line 2
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "form_template_date_years", "form/templatesLegacy/blocks/date_years.hbs", "_settings_date_years");
// line 5
yield "
";
// line 6
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "form_template_date_months", "form/templatesLegacy/blocks/date_months.hbs", "_settings_date_months");
// line 9
yield "
";
// line 10
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "form_template_date_days", "form/templatesLegacy/blocks/date_days.hbs", "_settings_date_days");
// line 13
yield "
";
// line 14
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "form_template_date", "form/templatesLegacy/blocks/date.hbs");
yield "
<!-- field settings -->
";
// line 17
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "form_template_field_settings", "form/templatesLegacy/settings/field.hbs");
yield "
";
// line 19
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_label", "form/templatesLegacy/settings/label.hbs", "_settings_label");
// line 22
yield "
";
// line 23
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_label_within", "form/templatesLegacy/settings/label_within.hbs", "_settings_label_within");
// line 26
yield "
";
// line 27
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_required", "form/templatesLegacy/settings/required.hbs", "_settings_required");
// line 30
yield "
";
// line 31
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_validate", "form/templatesLegacy/settings/validate.hbs", "_settings_validate");
// line 34
yield "
";
// line 35
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_values", "form/templatesLegacy/settings/values.hbs", "_settings_values");
// line 38
yield "
";
// line 39
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_date_default", "form/templatesLegacy/settings/date_default.hbs", "_settings_date_default");
// line 42
yield "
";
// line 43
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_submit", "form/templatesLegacy/settings/submit.hbs", "_settings_submit");
// line 46
yield "
";
// line 48
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_values_item", "form/templatesLegacy/settings/values_item.hbs");
// line 49
yield "
";
// line 50
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_date_format", "form/templatesLegacy/settings/date_formats.hbs", "_settings_date_format");
// line 54
yield "
";
// line 55
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_date_type", "form/templatesLegacy/settings/date_types.hbs", "_settings_date_type");
// line 59
yield "
";
// line 60
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_segment_selection_item", "form/templatesLegacy/settings/segment_selection_item.hbs");
// line 62
yield "
";
// line 63
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "field_settings_segment_selection", "form/templatesLegacy/settings/segment_selection.hbs", "_settings_segment_selection");
// line 66
yield "
<!-- custom field: new -->
";
// line 69
yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "form_template_field_form", "form/templatesLegacy/settings/field_form.hbs");
// line 71
yield "
<!-- field settings depending on field type -->
<script id=\"form_template_field_text\" type=\"text/x-handlebars-template\">
{{> _settings_required }}
{{> _settings_validate }}
</script>
<script id=\"form_template_field_textarea\" type=\"text/x-handlebars-template\">
{{> _settings_required }}
{{> _settings_validate }}
</script>
<script id=\"form_template_field_radio\" type=\"text/x-handlebars-template\">
{{> _settings_values }}
{{> _settings_required }}
</script>
<script id=\"form_template_field_checkbox\" type=\"text/x-handlebars-template\">
{{> _settings_values }}
{{> _settings_required }}
</script>
<script id=\"form_template_field_select\" type=\"text/x-handlebars-template\">
{{> _settings_values }}
{{> _settings_required }}
</script>
<script id=\"form_template_field_date\" type=\"text/x-handlebars-template\">
{{> _settings_required }}
{{> _settings_date_type }}
</script>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "form/custom_fields_legacy.html";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 132 => 71, 130 => 69, 125 => 66, 123 => 63, 120 => 62, 118 => 60, 115 => 59, 113 => 55, 110 => 54, 108 => 50, 105 => 49, 103 => 48, 99 => 46, 97 => 43, 94 => 42, 92 => 39, 89 => 38, 87 => 35, 84 => 34, 82 => 31, 79 => 30, 77 => 27, 74 => 26, 72 => 23, 69 => 22, 67 => 19, 62 => 17, 56 => 14, 53 => 13, 51 => 10, 48 => 9, 46 => 6, 43 => 5, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "form/custom_fields_legacy.html", "/home/circleci/mailpoet/mailpoet/views/form/custom_fields_legacy.html");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,84 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/container/threeColumnLayoutWidget.hbs */
class __TwigTemplate_bf1afcdd39b977c640e7d80e1226553f8b3fa42753dc0980108bb10dea17eb4d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_widget_icon\">
";
// line 2
yield MailPoetVendor\Twig\Extension\CoreExtension::source($this->env, "newsletter/templates/svg/layout-icons/3-column.svg");
yield "
</div>
<div class=\"mailpoet_widget_title\">";
// line 4
yield $this->extensions['MailPoet\Twig\I18n']->translate("3 columns");
yield "</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/container/threeColumnLayoutWidget.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 46 => 4, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/container/threeColumnLayoutWidget.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/container/threeColumnLayoutWidget.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,75 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/products/settingsSelectionEmpty.hbs */
class __TwigTemplate_b30ce301b23c2278200a8970cdf2825585dcfd62ae3ea793f7909811acbc7cff extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield $this->extensions['MailPoet\Twig\I18n']->translate("No products available");
yield "
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/products/settingsSelectionEmpty.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/products/settingsSelectionEmpty.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/products/settingsSelectionEmpty.hbs");
}
}
@@ -0,0 +1,83 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/container/twoColumnLayoutWidget12.hbs */
class __TwigTemplate_aa404a6812c6c46c499f4d47b746203eda3f98198cba9ee316aa97c740c9c9c9 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_widget_icon\">
";
// line 2
yield MailPoetVendor\Twig\Extension\CoreExtension::source($this->env, "newsletter/templates/svg/layout-icons/2-column-12.svg");
yield "
</div>
<div class=\"mailpoet_widget_title\">";
// line 4
yield $this->extensions['MailPoet\Twig\I18n']->translate("1:2 columns");
yield "</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/container/twoColumnLayoutWidget12.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 46 => 4, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/container/twoColumnLayoutWidget12.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/container/twoColumnLayoutWidget12.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,160 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* parsley-translations.html */
class __TwigTemplate_c57fdfc1a59b00dc7129161c18976ad5ba36cdd436a8430e0c1963def69c2803 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "
Parsley.addMessages('mailpoet', {
defaultMessage: '";
// line 3
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value seems to be invalid.");
yield "',
type: {
email: '";
// line 5
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be a valid email.");
yield "',
url: '";
// line 6
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be a valid url.");
yield "',
number: '";
// line 7
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be a valid number.");
yield "',
integer: '";
// line 8
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be a valid integer.");
yield "',
digits: '";
// line 9
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be digits.");
yield "',
alphanum: '";
// line 10
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be alphanumeric.");
yield "'
},
notblank: '";
// line 12
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should not be blank.");
yield "',
required: '";
// line 13
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value is required.");
yield "',
pattern: '";
// line 14
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value seems to be invalid.");
yield "',
min: '";
// line 15
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be greater than or equal to %s.");
yield "',
max: '";
// line 16
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be lower than or equal to %s.");
yield "',
range: '";
// line 17
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be between %s and %s.");
yield "',
minlength: '";
// line 18
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value is too short. It should have %s characters or more.");
yield "',
maxlength: '";
// line 19
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value is too long. It should have %s characters or fewer.");
yield "',
length: '";
// line 20
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value length is invalid. It should be between %s and %s characters long.");
yield "',
mincheck: '";
// line 21
yield $this->extensions['MailPoet\Twig\I18n']->translate("You must select at least %s choices.");
yield "',
maxcheck: '";
// line 22
yield $this->extensions['MailPoet\Twig\I18n']->translate("You must select %s choices or fewer.");
yield "',
check: '";
// line 23
yield $this->extensions['MailPoet\Twig\I18n']->translate("You must select between %s and %s choices.");
yield "',
equalto: '";
// line 24
yield $this->extensions['MailPoet\Twig\I18n']->translate("This value should be the same.");
yield "'
});
Parsley.setLocale('mailpoet');
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "parsley-translations.html";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 120 => 24, 116 => 23, 112 => 22, 108 => 21, 104 => 20, 100 => 19, 96 => 18, 92 => 17, 88 => 16, 84 => 15, 80 => 14, 76 => 13, 72 => 12, 67 => 10, 63 => 9, 59 => 8, 55 => 7, 51 => 6, 47 => 5, 42 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "parsley-translations.html", "/home/circleci/mailpoet/mailpoet/views/parsley-translations.html");
}
}
@@ -0,0 +1,87 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* subscription/confirm_unsubscribe.html */
class __TwigTemplate_b2e90aa663ee76ef09938814932102214bf0368922c2c205f621d8de92729c0a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
return; yield '';
}
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 2
yield "<p class=\"mailpoet_confirm_unsubscribe\">
";
// line 3
yield $this->extensions['MailPoet\Twig\I18n']->translate("Simply click on this link to stop receiving emails from us.");
yield "
<br>
<a href=\"";
// line 5
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["unsubscribeUrl"] ?? null), "html", null, true);
yield "\" rel=\"nofollow\">";
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Yes, unsubscribe me", "Text in unsubscribe link");
yield "</a>
</p>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "subscription/confirm_unsubscribe.html";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 55 => 5, 50 => 3, 47 => 2, 39 => 1,);
}
public function getSourceContext()
{
return new Source("", "subscription/confirm_unsubscribe.html", "/home/circleci/mailpoet/mailpoet/views/subscription/confirm_unsubscribe.html");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,101 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* form/templatesLegacy/settings/required.hbs */
class __TwigTemplate_7dc405d107b9ef946cdf9bdce5875c7d5e40f17176bd24a0ccb45f3a720a1c25 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<p class=\"clearfix\">
<label>";
// line 2
yield $this->extensions['MailPoet\Twig\I18n']->translate("Is this field mandatory?");
yield "</label>
<span class=\"group\">
<label>
<input type=\"radio\"
class=\"mailpoet_radio\"
name=\"params[required]\"
value=\"1\"
{{#if params.required}}checked=\"checked\"{{/if}} />";
// line 9
yield $this->extensions['MailPoet\Twig\I18n']->translate("Yes");
yield "
</label>
<label>
<input
class=\"mailpoet_radio\"
type=\"radio\"
name=\"params[required]\"
value=\"\"
{{#unless params.required}}checked=\"checked\"{{/unless}} />";
// line 17
yield $this->extensions['MailPoet\Twig\I18n']->translate("No");
yield "
</label>
</span>
</p>";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "form/templatesLegacy/settings/required.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 62 => 17, 51 => 9, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "form/templatesLegacy/settings/required.hbs", "/home/circleci/mailpoet/mailpoet/views/form/templatesLegacy/settings/required.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,83 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/container/twoColumnLayoutWidget.hbs */
class __TwigTemplate_ea975d08490195dde03043b911bf56b572ba96601b67c86a4df9ffd90926d6db extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_widget_icon\">
";
// line 2
yield MailPoetVendor\Twig\Extension\CoreExtension::source($this->env, "newsletter/templates/svg/layout-icons/2-column.svg");
yield "
</div>
<div class=\"mailpoet_widget_title\">";
// line 4
yield $this->extensions['MailPoet\Twig\I18n']->translate("2 columns");
yield "</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/container/twoColumnLayoutWidget.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 46 => 4, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/container/twoColumnLayoutWidget.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/container/twoColumnLayoutWidget.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,72 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/social/block.hbs */
class __TwigTemplate_c560f42919f3fb9a72925687f5688cac4a20481ee76781b56679c599e2f12bf9 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
yield "<div class=\"mailpoet_tools\"></div>
<div
class=\"mailpoet_content mailpoet_social\"
data-automation-id=\"socialBlock\"
style=\"text-align: {{model.styles.block.textAlign}}\"
>
</div>
<div class=\"mailpoet_block_highlight\"></div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/social/block.hbs";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ();
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/social/block.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/social/block.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,104 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* form/templatesLegacy/settings/date_default.hbs */
class __TwigTemplate_b3250ae4fa6cf3a8ba59dcf87bbed920729d3d0ed83a6f7fb8ac83124c949d67 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<p class=\"clearfix\">
<label>";
// line 2
yield $this->extensions['MailPoet\Twig\I18n']->translate("Preselect today's date:");
yield "</label>
<span class=\"group\">
<label>
<input
class=\"mailpoet_radio\"
type=\"radio\"
name=\"params[is_default_today]\"
value=\"1\"
{{#if params.is_default_today}}checked=\"checked\"{{/if}}
/>";
// line 11
yield $this->extensions['MailPoet\Twig\I18n']->translate("Yes");
yield "
</label>
<label>
<input
class=\"mailpoet_radio\"
type=\"radio\"
name=\"params[is_default_today]\"
value=\"\"
{{#unless params.is_default_today}}checked=\"checked\"{{/unless}}
/>";
// line 20
yield $this->extensions['MailPoet\Twig\I18n']->translate("No");
yield "
</label>
</span>
</p>";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "form/templatesLegacy/settings/date_default.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 65 => 20, 53 => 11, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "form/templatesLegacy/settings/date_default.hbs", "/home/circleci/mailpoet/mailpoet/views/form/templatesLegacy/settings/date_default.hbs");
}
}
@@ -0,0 +1,83 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/woocommerceContent/widget.hbs */
class __TwigTemplate_77d59f140a098af6dd45178c94dd951cfc4ba7d8ad38d8d7d28a8de13fc328a4 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_widget_icon\">
";
// line 2
yield MailPoetVendor\Twig\Extension\CoreExtension::source($this->env, "newsletter/templates/svg/block-icons/text.svg");
yield "
</div>
<div class=\"mailpoet_widget_title\">";
// line 4
yield $this->extensions['MailPoet\Twig\I18n']->translateWithContext("WooCommerce Transactional Email Content", "Name of a widget in the email editor. This widget is used to display WooCommerce order information (list of bought items, shipping address, ...)");
yield "</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/woocommerceContent/widget.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 46 => 4, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/woocommerceContent/widget.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/woocommerceContent/widget.hbs");
}
}
@@ -0,0 +1 @@
<?php
@@ -0,0 +1,82 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/abandonedCartContent/block.hbs */
class __TwigTemplate_8757195cf6e3b4b538bc0229021fc88316ee26a19f6b4b0703e7efaacd43582b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"mailpoet_tools\"></div>
<div class=\"mailpoet_abandoned_cart_content_block_overlay\" data-automation-id=\"acc_overlay\">
<span class=\"mailpoet_overlay_message\">";
// line 3
yield $this->extensions['MailPoet\Twig\I18n']->translate("This is only a preview! Your customers will see the product(s) they left in their shopping cart.");
yield "</span>
</div>
<div class=\"mailpoet_abandoned_cart_content_container\"></div>
<div class=\"mailpoet_block_highlight\"></div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/abandonedCartContent/block.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 42 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/abandonedCartContent/block.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/abandonedCartContent/block.hbs");
}
}
@@ -0,0 +1,70 @@
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\CoreExtension;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/templates/blocks/posts/settingsSinglePost.hbs */
class __TwigTemplate_2b8436f11a8e5b7c281e3ad2934bf0d670cfbcbf40e856d8550c5d9850142911 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
yield "<div class=\"mailpoet_settings_posts_single_post\">
<label>
<input id=\"mailpoet_select_post_{{ index }}\" class=\"mailpoet_select_post_checkbox\" type=\"checkbox\" class=\"checkbox\" value=\"\" name=\"post_selection\">
{{#ellipsis model.post_title 40 '...'}}{{/ellipsis}}
</label>
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "newsletter/templates/blocks/posts/settingsSinglePost.hbs";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ();
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/posts/settingsSinglePost.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/posts/settingsSinglePost.hbs");
}
}

Some files were not shown because too many files have changed in this diff Show More