1 | <?php |
||
18 | class ClassNotFoundException extends FormzException |
||
19 | { |
||
20 | const WRONG_ASSET_HANDLER_CLASS_NAME = 'Trying to get an asset handler with a wrong class name: "%s".'; |
||
21 | |||
22 | const WRONG_FORM_CLASS_NAME = 'Invalid form class name given: "%s".'; |
||
23 | |||
24 | const FORM_VIEW_HELPER_CLASS_NOT_FOUND = 'Invalid value for the form class name (current value: "%s"). You need to either fill the parameter `formClassName` in the view helper, or specify the type of the parameter `$%s` for the method "%s::%s()".'; |
||
25 | |||
26 | const BACKEND_CACHE_CLASS_NAME_NOT_FOUND = 'The cache class name given in configuration "config.tx_formz.settings.defaultBackendCache" was not found (current value: "%s")'; |
||
27 | |||
28 | const CONDITION_CLASS_NAME_NOT_FOUND = 'The class name for the condition "%s" was not found (given value: "%s").'; |
||
29 | |||
30 | const MIDDLEWARE_CLASS_NAME_NOT_FOUND = 'The class name "%s" was not found.'; |
||
31 | |||
32 | const MIDDLEWARE_OPTIONS_PROPERTY_CLASS_NAME_NOT_FOUND = 'The `@var` annotation of the property `%s::$%s` is not correct: it must be filled the name of a class that implements `%s`. Current value of the annotation is `%s`.'; |
||
33 | |||
34 | /** |
||
35 | * @code 1489602455 |
||
36 | * |
||
37 | * @param string $name |
||
38 | * @param string $className |
||
39 | * @return self |
||
40 | */ |
||
41 | final public static function conditionClassNameNotFound($name, $className) |
||
51 | |||
52 | /** |
||
53 | * @code 1477468381 |
||
54 | * |
||
55 | * @param string $className |
||
56 | * @return self |
||
57 | */ |
||
58 | final public static function wrongAssetHandlerClassName($className) |
||
68 | |||
69 | /** |
||
70 | * @code 1467191011 |
||
71 | * |
||
72 | * @param string $className |
||
73 | * @return self |
||
74 | */ |
||
75 | final public static function wrongFormClassName($className) |
||
85 | |||
86 | /** |
||
87 | * @code 1457442014 |
||
88 | * |
||
89 | * @param string $formClassName |
||
90 | * @param string $formName |
||
91 | * @param string $controller |
||
92 | * @param string $action |
||
93 | * @return self |
||
94 | */ |
||
95 | final public static function formViewHelperClassNotFound($formClassName, $formName, $controller, $action) |
||
105 | |||
106 | /** |
||
107 | * @code 1488475103 |
||
108 | * |
||
109 | * @param string $className |
||
110 | * @return self |
||
111 | */ |
||
112 | final public static function backendCacheClassNameNotFound($className) |
||
122 | |||
123 | /** |
||
124 | * @code 1490179346 |
||
125 | * |
||
126 | * @param string $className |
||
127 | * @return self |
||
128 | */ |
||
129 | final public static function ajaxControllerFormClassNameNotFound($className) |
||
139 | |||
140 | /** |
||
141 | * @code 1490180343 |
||
142 | * |
||
143 | * @param string $className |
||
144 | * @return self |
||
145 | */ |
||
146 | final public static function middlewareClassNameNotFound($className) |
||
156 | |||
157 | /** |
||
158 | * @code 1502658604 |
||
159 | * |
||
160 | * @param string $middlewareClassName |
||
161 | * @param string $propertyType |
||
162 | * @return ClassNotFoundException |
||
163 | */ |
||
164 | final public static function middlewareOptionsPropertyClassNameNotFound($middlewareClassName, $propertyType) |
||
174 | } |
||
175 |