This repository was archived by the owner on Feb 6, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +31
-2
lines changed Expand file tree Collapse file tree 4 files changed +31
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to this project will be documented in this file, in reverse chronological order by release.
4
4
5
+ ## 2.6.0 - TBD
6
+
7
+ ### Added
8
+
9
+ - [ #4 ] ( https://github.com/zendframework/zend-servicemanager/pull/4 ) updates the
10
+ ` ServiceManager ` to [ implement the container-interop interface] ( https://github.com/container-interop/container-interop ) ,
11
+ allowing interoperability with applications that consume that interface.
12
+
13
+ ### Deprecated
14
+
15
+ - Nothing.
16
+
17
+ ### Removed
18
+
19
+ - Nothing.
20
+
21
+ ### Fixed
22
+
23
+ - Nothing.
24
+
5
25
## 2.5.2 - TBD
6
26
7
27
### Added
Original file line number Diff line number Diff line change 13
13
}
14
14
},
15
15
"require" : {
16
- "php" : " >=5.5"
16
+ "php" : " >=5.5" ,
17
+ "container-interop/container-interop" : " ~1.0"
17
18
},
18
19
"require-dev" : {
19
20
"zendframework/zend-di" : " ~2.5" ,
Original file line number Diff line number Diff line change 9
9
10
10
namespace Zend \ServiceManager ;
11
11
12
- class ServiceManager implements ServiceLocatorInterface
12
+ use Interop \Container \ContainerInterface ;
13
+
14
+ class ServiceManager implements ServiceLocatorInterface, ContainerInterface
13
15
{
14
16
/**@#+
15
17
* Constants
Original file line number Diff line number Diff line change @@ -34,6 +34,12 @@ public function setup()
34
34
$ this ->serviceManager = new ServiceManager ;
35
35
}
36
36
37
+ public function testInteroperabilityInterface ()
38
+ {
39
+ $ serviceManager = new ServiceManager ();
40
+ $ this ->assertInstanceOf ("Interop\Container\ContainerInterface " , $ serviceManager );
41
+ }
42
+
37
43
/**
38
44
* @covers Zend\ServiceManager\ServiceManager::__construct
39
45
*/
You can’t perform that action at this time.
0 commit comments