| 1 | <?php |
||
| 13 | class ValidationServiceImplementation implements ValidationService |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var array |
||
| 17 | */ |
||
| 18 | private $validators; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * ValidationServiceImplementation constructor. |
||
| 22 | * |
||
| 23 | * @param array $validators |
||
| 24 | */ |
||
| 25 | public function __construct(array $validators) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Test a message against a number of validators |
||
| 36 | * |
||
| 37 | * @param Message $message |
||
| 38 | * |
||
| 39 | * @return Status |
||
| 40 | */ |
||
| 41 | public function validate(Message $message) : Status |
||
| 56 | } |
||
| 57 |