This repository was archived by the owner on Jan 29, 2020. It is now read-only.
File tree 1 file changed +15
-0
lines changed 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,21 @@ your application configuration. Components are pushed to the top of the module
34
34
list, while modules are pushed to the end. As a development component, it will
35
35
not be installed in your production distributions.
36
36
37
+ ## Application class
38
+
39
+ The following changes were made to the ` Zend\Mvc\Application ` constructor:
40
+
41
+ - The first ` $configuration ` argument was removed, as it was not used.
42
+ - Three additional, optional arguments were added:
43
+ - ` Zend\EventManager\EventManagerInterface $events = null `
44
+ - ` Zend\Stdlib\RequestInterface $request = null `
45
+ - ` Zend\Stdlib\ResponseInterface $response = null `
46
+
47
+ End-users using the skeleton application and the default ` Application ` factory
48
+ will not notice a change. Those who are directly instantiating the ` Application `
49
+ instance (in production or test code) or who have created their own factory for
50
+ the class will need to update their code.
51
+
37
52
## DI-ServiceManager integration
38
53
39
54
The integration between [ zend-servicemanager] ( https://zendframework.github.io/zend-servicemanager ) and
You can’t perform that action at this time.
0 commit comments