Automation.php
2 months ago
AutomationRun.php
1 year ago
AutomationRunLog.php
1 year ago
AutomationStatistics.php
9 months ago
AutomationTemplate.php
6 months ago
AutomationTemplateCategory.php
2 years ago
Field.php
2 years ago
Filter.php
3 years ago
FilterGroup.php
2 months ago
Filters.php
2 months ago
NextStep.php
2 years ago
Step.php
2 months ago
StepRunArgs.php
2 years ago
StepValidationArgs.php
3 years ago
Subject.php
3 years ago
SubjectEntry.php
3 years ago
index.php
3 years ago
AutomationTemplateCategory.php
31 lines
| 1 | <?php declare(strict_types = 1); |
| 2 | |
| 3 | namespace MailPoet\Automation\Engine\Data; |
| 4 | |
| 5 | if (!defined('ABSPATH')) exit; |
| 6 | |
| 7 | |
| 8 | class AutomationTemplateCategory { |
| 9 | /** @var string */ |
| 10 | private $slug; |
| 11 | |
| 12 | /** @var string */ |
| 13 | private $name; |
| 14 | |
| 15 | public function __construct( |
| 16 | string $slug, |
| 17 | string $name |
| 18 | ) { |
| 19 | $this->slug = $slug; |
| 20 | $this->name = $name; |
| 21 | } |
| 22 | |
| 23 | public function getSlug(): string { |
| 24 | return $this->slug; |
| 25 | } |
| 26 | |
| 27 | public function getName(): string { |
| 28 | return $this->name; |
| 29 | } |
| 30 | } |
| 31 |