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 2929 }
3030 },
3131 "require" : {
32- "php" : " >=5.5" ,
33- "container-interop/container-interop" : " dev-master"
32+ "php" : " >=5.5"
3433 },
3534 "require-dev" : {
3635 "phpunit/PHPUnit" : " ~4.0" ,
3736 "athletic/athletic" : " ^0.1" ,
3837 "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"
4040 },
4141 "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"
4344 }
4445}
Original file line number Diff line number Diff line change @@ -9,6 +9,15 @@ take the incoming arguments in order to alter the workflow.
99zend-eventmanager provides an intercepting filter implementation via
1010` Zend\EventManager\FilterChain ` .
1111
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+
1221## FilterChainInterface
1322
1423` 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:
1414- ` Zend\EventManager\LazyListenerAggregate ` , which can take a list of
1515 ` LazyEventListeners ` and/or their definitions, and be used as an aggregate
1616 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