Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[suggest] Ignore methods without parameters from aware interfaces #4918
Some aware interfaces in ZF2 define setters which do not expect any parameter.
It doesn't make sense anyway to process interface methods from aware interfaces that doesn't have parameters. Even worse: Di could call a method that it should not invoke.
@Ocramius I'm wondering about this, too. But it doesn't bother me much.
Some define the getter as well as the setter. This is a design/philosophy discussion, IMHO not worth debating to much about it. We should give ZF2 consumers this flexibility, no matter if it makes sense to a group of people or not. I guess it doesn't hurt anyone.