1 | <?php |
||
20 | class SilentException extends FormzException implements SilentExceptionInterface |
||
21 | { |
||
22 | const FIELD_HAS_NO_ACTIVATION = 'The field "%s" does not have activation. Please use the function `%s::hasActivation()` before.'; |
||
23 | |||
24 | const VALIDATOR_HAS_NO_ACTIVATION = 'The validator "%s" does not have activation. Please use the function `%s::hasActivation()` before.'; |
||
25 | |||
26 | /** |
||
27 | * @code 1494685913 |
||
28 | * |
||
29 | * @param Field $field |
||
30 | * @return self |
||
31 | */ |
||
32 | final public static function fieldHasNoActivation(Field $field) |
||
42 | |||
43 | /** |
||
44 | * @code 1494690671 |
||
45 | * |
||
46 | * @param Validator $validator |
||
47 | * @return self |
||
48 | */ |
||
49 | final public static function validatorHasNoActivation(Validator $validator) |
||
59 | } |
||
60 |