This repository was archived by the owner on Jan 29, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +27
-0
lines changed Expand file tree Collapse file tree 4 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 3838 * </code>
3939 *
4040 * If any of the keys are missing, default values will be used.
41+ *
42+ * @deprecated since 1.1.0, to be removed in 2.0.0. The "final handler" concept
43+ * will be replaced with a "default delegate", which will be an
44+ * implementation of Interop\Http\ServerMiddleware\DelegateInterface that
45+ * returns a canned response. Expressive will provide tools to migrate your
46+ * code to use default delegates for 2.0; you will only need to manually
47+ * change your code if you are extending this class.
4148 */
4249class TemplatedErrorHandlerFactory
4350{
Original file line number Diff line number Diff line change 6060 * </code>
6161 *
6262 * All values are booleans; omission of any implies boolean false.
63+ *
64+ * @deprecated since 1.1.0, to be removed in 2.0.0. The "final handler" concept
65+ * will be replaced with a "default delegate", which will be an
66+ * implementation of Interop\Http\ServerMiddleware\DelegateInterface that
67+ * returns a canned response. Expressive will provide tools to migrate your
68+ * code to use default delegates for 2.0; you will only need to manually
69+ * change your code if you are extending this class.
6370 */
6471class WhoopsErrorHandlerFactory
6572{
Original file line number Diff line number Diff line change 1818 * Provides the optional ability to render a template for each of 404 and
1919 * general error conditions. If no template renderer is provided, returns
2020 * empty responses with appropriate status codes.
21+ *
22+ * @deprecated since 1.1.0, to be removed in 2.0.0. The "final handler" concept
23+ * will be replaced with a "default delegate", which will be an
24+ * implementation of Interop\Http\ServerMiddleware\DelegateInterface that
25+ * returns a canned response. Expressive will provide tools to migrate your
26+ * code to use default delegates for 2.0; you will only need to manually
27+ * change your code if you are extending this class.
2128 */
2229class TemplatedErrorHandler
2330{
Original file line number Diff line number Diff line change 2020 * interface for navigating an exception stack trace.
2121 *
2222 * @see http://filp.github.io/whoops/
23+ * @deprecated since 1.1.0, to be removed in 2.0.0. The "final handler" concept
24+ * will be replaced with a "default delegate", which will be an
25+ * implementation of Interop\Http\ServerMiddleware\DelegateInterface that
26+ * returns a canned response. Expressive will provide tools to migrate your
27+ * code to use default delegates for 2.0; you will only need to manually
28+ * change your code if you are extending this class.
2329 */
2430class WhoopsErrorHandler extends TemplatedErrorHandler
2531{
You can’t perform that action at this time.
0 commit comments