PATH:
home
/
lab2454c
/
caimegroup.com
/
wp-content
/
plugins
/
mailpoet
/
lib
/
Entities
<?php declare(strict_types = 1); namespace MailPoet\Entities; if (!defined('ABSPATH')) exit; use MailPoet\Doctrine\EntityTraits\AutoincrementedIdTrait; use MailPoet\Doctrine\EntityTraits\CreatedAtTrait; use MailPoet\Doctrine\EntityTraits\SafeToOneAssociationLoadTrait; use MailPoet\Doctrine\EntityTraits\UpdatedAtTrait; use MailPoetVendor\Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity() * @ORM\Table(name="subscriber_tag") */ class SubscriberTagEntity { use AutoincrementedIdTrait; use CreatedAtTrait; use UpdatedAtTrait; use SafeToOneAssociationLoadTrait; /** * @ORM\ManyToOne(targetEntity="MailPoet\Entities\TagEntity") * @var TagEntity|null */ private $tag; /** * @ORM\ManyToOne(targetEntity="MailPoet\Entities\SubscriberEntity", inversedBy="subscriberTags") * @var SubscriberEntity|null */ private $subscriber; public function __construct( TagEntity $tag, SubscriberEntity $subscriber ) { $this->tag = $tag; $this->subscriber = $subscriber; } public function getTag(): ?TagEntity { $this->safelyLoadToOneAssociation('tag'); return $this->tag; } public function getSubscriber(): ?SubscriberEntity { $this->safelyLoadToOneAssociation('subscriber'); return $this->subscriber; } }
[-] WpPostEntity.php
[edit]
[-] StatisticsOpenEntity.php
[edit]
[-] NewsletterEntity.php
[edit]
[-] UserAgentEntity.php
[edit]
[-] index.php
[edit]
[-] NewsletterPostEntity.php
[edit]
[-] FormEntity.php
[edit]
[+]
..
[-] NewsletterLinkEntity.php
[edit]
[-] FeatureFlagEntity.php
[edit]
[-] StatisticsWooCommercePurchaseEntity.php
[edit]
[-] SubscriberTagEntity.php
[edit]
[-] StatsNotificationEntity.php
[edit]
[-] SubscriberSegmentEntity.php
[edit]
[-] StatisticsUnsubscribeEntity.php
[edit]
[-] SubscriberIPEntity.php
[edit]
[-] DynamicSegmentFilterData.php
[edit]
[-] StatisticsFormEntity.php
[edit]
[-] SubscriberEntity.php
[edit]
[-] SegmentEntity.php
[edit]
[-] ScheduledTaskSubscriberEntity.php
[edit]
[-] NewsletterOptionFieldEntity.php
[edit]
[-] UserFlagEntity.php
[edit]
[-] ScheduledTaskEntity.php
[edit]
[-] CustomFieldEntity.php
[edit]
[-] StatisticsClickEntity.php
[edit]
[-] StatisticsNewsletterEntity.php
[edit]
[-] StatisticsBounceEntity.php
[edit]
[-] NewsletterOptionEntity.php
[edit]
[-] NewsletterSegmentEntity.php
[edit]
[-] SendingQueueEntity.php
[edit]
[-] NewsletterTemplateEntity.php
[edit]
[-] TagEntity.php
[edit]
[-] SettingEntity.php
[edit]
[-] LogEntity.php
[edit]
[-] DynamicSegmentFilterEntity.php
[edit]
[-] SubscriberCustomFieldEntity.php
[edit]