1 | <?php |
||
18 | class MissingArgumentException extends FormzException |
||
19 | { |
||
20 | const ARGUMENT_MISSING = 'The argument "%s" was not found in the request.'; |
||
21 | |||
22 | const CONDITION_CONSTRUCTOR_ARGUMENT_MISSING = 'Error while instantiating the condition "%s" of type "%s": a constructor argument is missing. Given arguments were: "%s".'; |
||
23 | |||
24 | const SIGNAL_NAME_MISSING = 'No signal has been given to the signal dispatcher, used in the middleware "%s". This is because this middleware can dispatch several signals (namely "%s"); so you must indicate which signal to dispatch.'; |
||
25 | |||
26 | /** |
||
27 | * @code 1490179179 |
||
28 | * |
||
29 | * @return self |
||
30 | */ |
||
31 | final public static function ajaxControllerNameArgumentNotSet() |
||
41 | |||
42 | /** |
||
43 | * @code 1490179250 |
||
44 | * |
||
45 | * @return self |
||
46 | */ |
||
47 | final public static function ajaxControllerClassNameArgumentNotSet() |
||
57 | |||
58 | /** |
||
59 | * @code 1502192265 |
||
60 | * |
||
61 | * @return self |
||
62 | */ |
||
63 | final public static function ajaxControllerFormDataArgumentNotSet() |
||
73 | |||
74 | /** |
||
75 | * @code 1494850270 |
||
76 | * |
||
77 | * @param string $conditionName |
||
78 | * @param string $conditionClassName |
||
79 | * @param array $arguments |
||
80 | * @return self |
||
81 | */ |
||
82 | final public static function conditionConstructorArgumentMissing($conditionName, $conditionClassName, array $arguments) |
||
92 | |||
93 | /** |
||
94 | * @code 1490793826 |
||
95 | * |
||
96 | * @param SendsMiddlewareSignal $middleware |
||
97 | * @return self |
||
98 | */ |
||
99 | final public static function signalNameArgumentMissing(SendsMiddlewareSignal $middleware) |
||
112 | } |
||
113 |