You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 29, 2020. It is now read-only.
typically a `Zend\Expressive\Emitter\EmitterStack` instance.
240
240
-`getDefaultDelegate()`: (Since 2.0) retrieves the default delegate to use when the internal middleware pipeline is exhausted without returning a response. If none is provided at instantiation, this method will do one of the following:
241
-
- If no container is composed, instanatiates a
242
-
`Zend\Expressive\Delegate\NotFoundDelegate` using the composed response
243
-
prototype only.
244
-
- If a container is composed, but does not have the
245
-
`Zend\Expressive\Delegate\DefaultDelegate` service, it creates and invokes an
246
-
instance of `Zend\Expressive\Container\NotFoundDelegateFactory`, passing it
247
-
the composed container, and uses the value created.
248
-
- If a container is composed and contains the `Zend\Expressive\Delegate\DefaultDelegate`
249
-
service, it returns that.
241
+
- If no container is composed, instanatiates a
242
+
`Zend\Expressive\Delegate\NotFoundDelegate` using the composed response
243
+
prototype only.
244
+
- If a container is composed, but does not have the
245
+
`Zend\Expressive\Delegate\DefaultDelegate` service, it creates and invokes an
246
+
instance of `Zend\Expressive\Container\NotFoundDelegateFactory`, passing it
247
+
the composed container, and uses the value created.
248
+
- If a container is composed and contains the `Zend\Expressive\Delegate\DefaultDelegate`
249
+
service, it returns that.
250
250
-`getFinalHandler(ResponseInterface $response = null)`: (**REMOVED in version 2.0**)
251
251
retrieves the final handler instance. This is middleware with the signature
252
252
`function ($request, $response, $error = null)`, and it is invoked when the
0 commit comments