| 1 | <?php |
||
| 9 | final class AggregateSpamScore implements SpamScoreInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var array|SpamScoreInterface[] |
||
| 13 | */ |
||
| 14 | private $checkers; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param array|SpamScoreInterface[] $checkers |
||
| 18 | */ |
||
| 19 | 1 | public function __construct(array $checkers) |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @param MessageInterface $message |
||
| 26 | * @return int |
||
| 27 | */ |
||
| 28 | 1 | public function calculate(MessageInterface $message): int |
|
| 38 | } |
||
| 39 |