@@ 110-113 (lines=4) @@ | ||
107 | $fastRouteResponse['vars'] = $foundRoute[2]; |
|
108 | $fastRouteResponse['handler'] = $foundRoute[1]; |
|
109 | break; |
|
110 | case Dispatcher::NOT_FOUND: |
|
111 | $fastRouteResponse['statusCode'] = 404; |
|
112 | $fastRouteResponse['handler'] = $this->_findOptionsHandler(404); |
|
113 | break; |
|
114 | case Dispatcher::METHOD_NOT_ALLOWED: |
|
115 | $fastRouteResponse['statusCode'] = 405; |
|
116 | $fastRouteResponse['handler'] = $this->_findOptionsHandler(405); |
|
@@ 114-117 (lines=4) @@ | ||
111 | $fastRouteResponse['statusCode'] = 404; |
|
112 | $fastRouteResponse['handler'] = $this->_findOptionsHandler(404); |
|
113 | break; |
|
114 | case Dispatcher::METHOD_NOT_ALLOWED: |
|
115 | $fastRouteResponse['statusCode'] = 405; |
|
116 | $fastRouteResponse['handler'] = $this->_findOptionsHandler(405); |
|
117 | break; |
|
118 | default: |
|
119 | $fastRouteResponse['handler'] = $this->_findOptionsHandler('default'); |
|
120 | } |