Action.php
11 months ago
Filter.php
2 years ago
Payload.php
3 years ago
Step.php
1 year ago
Subject.php
3 years ago
SubjectTransformer.php
2 years ago
Trigger.php
1 year ago
ValidationException.php
3 years ago
index.php
3 years ago
SubjectTransformer.php
17 lines
| 1 | <?php declare(strict_types = 1); |
| 2 | |
| 3 | namespace MailPoet\Automation\Engine\Integration; |
| 4 | |
| 5 | if (!defined('ABSPATH')) exit; |
| 6 | |
| 7 | |
| 8 | use MailPoet\Automation\Engine\Data\Subject; |
| 9 | |
| 10 | interface SubjectTransformer { |
| 11 | public function transform(Subject $data): ?Subject; |
| 12 | |
| 13 | public function returns(): string; |
| 14 | |
| 15 | public function accepts(): string; |
| 16 | } |
| 17 |