| Total Complexity | 3 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | class GlobalRecipients extends AbstractDefinitionComponent implements DataPreProcessorInterface |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * @var \CuyZ\Notiz\Domain\Notification\Email\Application\EntityEmail\Settings\GlobalRecipients\Recipient[] |
||
| 28 | */ |
||
| 29 | protected $recipients; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return Recipient[] |
||
| 33 | */ |
||
| 34 | public function getRecipients(): array |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Each recipient is put inside an array to be able to process it in the |
||
| 41 | * Recipient class. |
||
| 42 | * |
||
| 43 | * @see Recipient |
||
| 44 | * |
||
| 45 | * @param DataPreProcessor $processor |
||
| 46 | */ |
||
| 47 | public static function dataPreProcessor(DataPreProcessor $processor) |
||
| 66 |