A subject contains multiple fields. Each field has a type and they can be filtered and used later on. [MAILPOET-4136]
15 lines
287 B
PHP
15 lines
287 B
PHP
<?php declare(strict_types = 1);
|
|
|
|
namespace MailPoet\Automation\Engine\Workflows;
|
|
|
|
interface Subject {
|
|
public function getKey(): string;
|
|
|
|
/** array<SubjectField> */
|
|
public function getFields(): array;
|
|
|
|
public function load(array $args): void;
|
|
|
|
public function pack(): array;
|
|
}
|