Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace PeServer\Core\Mvc; |
6 | |
7 | interface IValidationReceiver |
8 | { |
9 | #region function |
10 | |
11 | /** |
12 | * エラーメッセージを受領。 |
13 | * |
14 | * @param string $key |
15 | * @param string $message |
16 | * @return void |
17 | */ |
18 | public function receiveErrorMessage(string $key, string $message): void; |
19 | |
20 | /** |
21 | * 検証結果の失敗受領。 |
22 | * |
23 | * @param string $key |
24 | * @param int $kind |
25 | * @param array<int|string,int|string> $parameters |
26 | * @return void |
27 | */ |
28 | public function receiveErrorKind(string $key, int $kind, array $parameters): void; |
29 | |
30 | #endregion |
31 | } |