1 | <?php |
||
19 | class InvalidArgumentValueException extends FormzException |
||
20 | { |
||
21 | const FIELD_VIEW_HELPER_EMPTY_LAYOUT = 'The layout name cannot be empty, please fill with a value.'; |
||
22 | |||
23 | const SIGNAL_NOT_ALLOWED = 'Trying to dispatch a signal that was not allowed by the middleware "%s". Authorized signals for this middleware are: "%s".'; |
||
24 | |||
25 | const FORM_NAME_EMPTY = 'The name of the form (type: "%s") can not be empty.'; |
||
26 | |||
27 | const FORM_DATA_FETCHING_ERROR = 'There was an error during the fetching of the form data.'; |
||
28 | |||
29 | /** |
||
30 | * @code 1485786285 |
||
31 | * |
||
32 | * @return self |
||
33 | */ |
||
34 | final public static function fieldViewHelperEmptyLayout() |
||
41 | |||
42 | /** |
||
43 | * @code 1490798201 |
||
44 | * |
||
45 | * @param SendsMiddlewareSignal $middleware |
||
46 | * @return InvalidArgumentValueException |
||
47 | */ |
||
48 | final public static function signalNotAllowed(SendsMiddlewareSignal $middleware) |
||
61 | |||
62 | /** |
||
63 | * @code 1494515073 |
||
64 | * |
||
65 | * @param FormInterface $form |
||
66 | * @return self |
||
67 | */ |
||
68 | final public static function formNameEmpty(FormInterface $form) |
||
78 | |||
79 | /** |
||
80 | * @code 1502036543 |
||
81 | * |
||
82 | * @return self |
||
83 | */ |
||
84 | final public static function formDataFetchingError() |
||
91 | } |
||
92 |