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 +2
-2
lines changed
docs/book/v3/features/container Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ While the skeleton creates a general
4
4
[ PSR-11] ( https://www.php-fig.org/psr/psr-11/ ) container in which to map all of
5
5
your dependencies, this can pose problems when you are attempting to pull
6
6
middleware and request handlers; you could potentially, accidentally, pull
7
- something of an entire type entirely, which may not work in either context!
7
+ something of a different type entirely, which may not work in either context!
8
8
9
9
To prevent this from happening, we provide
10
10
` Zend\Expressive\MiddlewareContainer ` . It decorates your application container,
@@ -17,7 +17,7 @@ and adds the following behavior:
17
17
class that exists.
18
18
- decorate PSR-15 ` RequestHandlerInterface ` implementations using
19
19
` Zend\Stratigiliity\RequestHandlerMiddleware ` .
20
- - raise an exception of the instance to return is no a PSR-15
20
+ - raise an exception if the instance to return is not a PSR-15
21
21
` MiddlewareInterface ` implementation.
22
22
23
23
Internally, this class is used by the [ MiddlewareFactory] ( middleware-factory.md )
You can’t perform that action at this time.
0 commit comments