This repository was archived by the owner on Jan 29, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +23
-4
lines changed Expand file tree Collapse file tree 3 files changed +23
-4
lines changed Original file line number Diff line number Diff line change 29
29
}
30
30
},
31
31
"require" : {
32
- "php" : " >=5.5" ,
33
- "container-interop/container-interop" : " dev-master"
32
+ "php" : " >=5.5"
34
33
},
35
34
"require-dev" : {
36
35
"phpunit/PHPUnit" : " ~4.0" ,
37
36
"athletic/athletic" : " ^0.1" ,
38
37
"squizlabs/php_codesniffer" : " ^2.0@dev" ,
39
- "zendframework/zend-stdlib" : " ^2.7.3"
38
+ "zendframework/zend-stdlib" : " ^2.7.3" ,
39
+ "container-interop/container-interop" : " ^1.1.0"
40
40
},
41
41
"suggest" : {
42
- "zendframework/zend-stdlib" : " ^2.7.3, if using the FilterChain feature"
42
+ "container-interop/container-interop" : " ^1.1.0, to use the lazy listeners feature" ,
43
+ "zendframework/zend-stdlib" : " ^2.7.3, to use the FilterChain feature"
43
44
}
44
45
}
Original file line number Diff line number Diff line change @@ -9,6 +9,15 @@ take the incoming arguments in order to alter the workflow.
9
9
zend-eventmanager provides an intercepting filter implementation via
10
10
` Zend\EventManager\FilterChain ` .
11
11
12
+ ## Preparation
13
+
14
+ To use the ` FilterChain ` implementation, you will need to install zend-stdlib,
15
+ if you have not already:
16
+
17
+ ``` bash
18
+ $ composer require zendframework/zend-stdlib
19
+ ```
20
+
12
21
## FilterChainInterface
13
22
14
23
` Zend\EventManager\FilterChain ` is a concrete implementation of
Original file line number Diff line number Diff line change @@ -14,3 +14,12 @@ The feature consists of three classes:
14
14
- ` Zend\EventManager\LazyListenerAggregate ` , which can take a list of
15
15
` LazyEventListeners ` and/or their definitions, and be used as an aggregate
16
16
listener for attaching the lazy listeners to an event manager.
17
+
18
+ ## Preparation
19
+
20
+ In order to use the lazy listeners feature, you will need to install
21
+ container-interop, if you haven't already:
22
+
23
+ ``` bash
24
+ $ composer require container-interop/container-interop
25
+ ```
You can’t perform that action at this time.
0 commit comments