1 | <?php |
||
11 | class Rule implements \PluginSimpleValidate\Contracts\Rule |
||
12 | { |
||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | private $validationMethod; |
||
17 | |||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | private $langKey; |
||
22 | |||
23 | 3 | public function __construct(string $validationMethod, string $langKey) |
|
28 | |||
29 | /** |
||
30 | * @return string |
||
31 | */ |
||
32 | 3 | public function getValidationMethod(): string |
|
36 | |||
37 | /** |
||
38 | * @return string |
||
39 | */ |
||
40 | 3 | public function getLangKey(): string |
|
44 | } |