This repository was archived by the owner on Jan 29, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public function notFoundAction()
52
52
if ($ response instanceof HttpResponse) {
53
53
return $ this ->createHttpNotFoundModel ($ response );
54
54
}
55
- return $ this ->createConsoleNotFoundModel ();
55
+ return $ this ->createConsoleNotFoundModel ($ response );
56
56
}
57
57
58
58
/**
@@ -87,4 +87,26 @@ public function onDispatch(MvcEvent $e)
87
87
88
88
return $ actionResponse ;
89
89
}
90
+
91
+ /**
92
+ * @deprecated please use the {@see \Zend\Mvc\Controller\Plugin\CreateHttpNotFoundModel} plugin instead: this
93
+ * method will be removed in release 2.5 or later.
94
+ *
95
+ * {@inheritDoc}
96
+ */
97
+ protected function createHttpNotFoundModel (HttpResponse $ response )
98
+ {
99
+ return $ this ->__call ('createHttpNotFoundModel ' , [$ response ]);
100
+ }
101
+
102
+ /**
103
+ * @deprecated please use the {@see \Zend\Mvc\Controller\Plugin\CreateConsoleNotFoundModel} plugin instead: this
104
+ * method will be removed in release 2.5 or later.
105
+ *
106
+ * {@inheritDoc}
107
+ */
108
+ protected function createConsoleNotFoundModel ($ response )
109
+ {
110
+ return $ this ->__call ('createConsoleNotFoundModel ' , [$ response ]);
111
+ }
90
112
}
You can’t perform that action at this time.
0 commit comments