1 | <?php |
||
19 | class MissingArgumentException extends FormzException |
||
20 | { |
||
21 | const ARGUMENT_MISSING = 'The argument "%s" was not found in the request.'; |
||
22 | |||
23 | const CONDITION_CONSTRUCTOR_ARGUMENT_MISSING = 'Error while instantiating the condition "%s" of type "%s": a constructor argument is missing. Given arguments were: "%s".'; |
||
24 | |||
25 | 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.'; |
||
26 | |||
27 | /** |
||
28 | * @code 1490179179 |
||
29 | * |
||
30 | * @return self |
||
31 | */ |
||
32 | final public static function ajaxControllerNameArgumentNotSet() |
||
42 | |||
43 | /** |
||
44 | * @code 1490179250 |
||
45 | * |
||
46 | * @return self |
||
47 | */ |
||
48 | final public static function ajaxControllerClassNameArgumentNotSet() |
||
58 | |||
59 | /** |
||
60 | * @code 1494850270 |
||
61 | * |
||
62 | * @param string $conditionName |
||
63 | * @param string $conditionClassName |
||
64 | * @param array $arguments |
||
65 | * @return self |
||
66 | */ |
||
67 | final public static function conditionConstructorArgumentMissing($conditionName, $conditionClassName, array $arguments) |
||
77 | |||
78 | /** |
||
79 | * @code 1490793826 |
||
80 | * |
||
81 | * @param SendsMiddlewareSignal $middleware |
||
82 | * @return self |
||
83 | */ |
||
84 | final public static function signalNameArgumentMissing(SendsMiddlewareSignal $middleware) |
||
97 | } |
||
98 |