| Total Complexity | 7 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class DefaultInfo implements Interfaces\ILocalInfo |
||
| 17 | { |
||
| 18 | 10 | public function beforeProcess(Interfaces\IContent $content, Interfaces\IEmailUser $to, ?Interfaces\IEmailUser $from = null): void |
|
| 19 | { |
||
| 20 | 10 | } |
|
| 21 | |||
| 22 | 6 | public function beforeSend(Interfaces\ISending $service, Interfaces\IContent $content): void |
|
| 23 | { |
||
| 24 | 6 | } |
|
| 25 | |||
| 26 | 3 | public function whenSendFails(Interfaces\ISending $service, Exceptions\EmailException $ex): void |
|
| 27 | { |
||
| 28 | 3 | } |
|
| 29 | |||
| 30 | 2 | public function whenResultIsSuccessful(Interfaces\ISending $service, Basics\Result $result): void |
|
| 31 | { |
||
| 32 | 2 | } |
|
| 33 | |||
| 34 | 2 | public function whenResultIsNotSuccessful(Interfaces\ISending $service, Basics\Result $result): void |
|
| 35 | { |
||
| 36 | 2 | } |
|
| 37 | |||
| 38 | 3 | public function whenNoDefinitionIsUsable(): void |
|
| 39 | { |
||
| 40 | 3 | } |
|
| 41 | |||
| 42 | 2 | public function getLangSendingFailed(): string |
|
| 45 | } |
||
| 46 | } |
||
| 47 |