PATH:
home
/
lab2454c
/
caimegroup.com
/
wp-content
/
plugins
/
mailpoet
/
lib
/
Entities
<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing namespace MailPoet\Entities; if (!defined('ABSPATH')) exit; use DateTimeInterface; use MailPoet\Doctrine\EntityTraits\AutoincrementedIdTrait; use MailPoet\Doctrine\EntityTraits\CreatedAtTrait; use MailPoetVendor\Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity() * @ORM\Table(name="log") */ class LogEntity { use AutoincrementedIdTrait; use CreatedAtTrait; /** * @ORM\Column(type="string", nullable=true) * @var string|null */ private $name; /** * @ORM\Column(type="integer", nullable=true) * @var int|null */ private $level; /** * @ORM\Column(type="string", nullable=true) * @var string|null */ private $message; /** * @ORM\Column(type="string", nullable=true) * @var string|null */ private $rawMessage; /** * @ORM\Column(type="string", nullable=true) * @var string|null */ private $context; /** * @return string|null */ public function getName(): ?string { return $this->name; } /** * @return int|null */ public function getLevel(): ?int { return $this->level; } /** * @return string|null */ public function getMessage(): ?string { return $this->message; } public function getRawMessage(): ?string { return $this->rawMessage; } public function getContext(): ?array { return (array)json_decode($this->context ?? '{}', true); } public function setName(?string $name): void { $this->name = $name; } public function setLevel(?int $level): void { $this->level = $level; } public function setMessage(?string $message): void { $this->message = $message; } public function setCreatedAt(DateTimeInterface $createdAt): void { $this->createdAt = $createdAt; } public function setRawMessage(string $message): void { $this->rawMessage = $message; } public function setContext(array $context): void { $str = json_encode($context); if ($str) { $this->context = $str; } } }
[-] 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]