Files
piratepoet/mailpoet/lib/Automation/Engine/Data/AutomationTemplateCategory.php
Jan Jakes d220f05840 Move automation template categories to registry
This will also allow 3rd parties adding new categories in the future.

[MAILPOET-4676]
2023-11-20 14:30:05 +01:00

28 lines
453 B
PHP

<?php declare(strict_types = 1);
namespace MailPoet\Automation\Engine\Data;
class AutomationTemplateCategory {
/** @var string */
private $slug;
/** @var string */
private $name;
public function __construct(
string $slug,
string $name
) {
$this->slug = $slug;
$this->name = $name;
}
public function getSlug(): string {
return $this->slug;
}
public function getName(): string {
return $this->name;
}
}