Always rely on dedicated setter
Rely on specific setter
I'll close this for the same reason discussed here zendframework#3558 (comment)
If you think that is wrong feel free to reopen it
Hi, #3558 is right, accessing to internal property without using getter is fine.
The intention of this PR is different: I consider a setter the central point of constructing a dependancy. Look at this:
If I want to build the event manager dependancy differently, I can just extend and overwrite only the setter.
So, accessing and using a direct property it's ok everywhere.
Building a new dependancy instead it's better to do it in only one place.
PS: Github doesn't let me reopen the issue :)
Merge branch 'hotfix/3610' into develop
Forward port #3610