1 | <?php |
||
21 | class InvalidArgumentValueException extends FormzException |
||
22 | { |
||
23 | const FIELD_VIEW_HELPER_EMPTY_LAYOUT = 'The layout name cannot be empty, please fill with a value.'; |
||
24 | |||
25 | const SIGNAL_NOT_ALLOWED = 'Trying to dispatch a signal that was not allowed by the middleware "%s". Authorized signals for this middleware are: "%s".'; |
||
26 | |||
27 | const FORM_NAME_EMPTY = 'The name of the form (type: "%s") can not be empty.'; |
||
28 | |||
29 | const AJAX_DATA_MAPPER_ERROR = 'Arguments mapping validation error %s'; |
||
30 | |||
31 | /** |
||
32 | * @code 1485786285 |
||
33 | * |
||
34 | * @return self |
||
35 | */ |
||
36 | final public static function fieldViewHelperEmptyLayout() |
||
43 | |||
44 | /** |
||
45 | * @code 1490798201 |
||
46 | * |
||
47 | * @param SendsMiddlewareSignal $middleware |
||
48 | * @return InvalidArgumentValueException |
||
49 | */ |
||
50 | final public static function signalNotAllowed(SendsMiddlewareSignal $middleware) |
||
63 | |||
64 | /** |
||
65 | * @code 1494515073 |
||
66 | * |
||
67 | * @param FormInterface $form |
||
68 | * @return self |
||
69 | */ |
||
70 | final public static function formNameEmpty(FormInterface $form) |
||
80 | |||
81 | /** |
||
82 | * @code 1539693830 |
||
83 | * |
||
84 | * @param Error[] $errorsList |
||
85 | * @return self |
||
86 | */ |
||
87 | final public static function ajaxDataMapperError(array $errorsList) |
||
103 | } |
||
104 |