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