Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #13045 Association hydrator private in product repo should be…
… protected (Nek-) This PR was merged into the 1.13 branch. Discussion ---------- | Q | A | --------------- | ----- | Branch? | 1.13 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | License | MIT This class is designed to be extended. Therefore having a private field not overridable seems to be a bad idea. Another idea could be to take it as a constructor parameter but it just makes no sense since it would just suggest to the user add its own private property to make the whole thing work. This commit is to me the best approach to the problem. Commits ------- 26d6adf fix: association hydrator private in product repo This class is designed to be extended. Therefore having a private field not overridable seems to be a bad idea. Another idea could be to take it as a constructor parameter but it just makes no sense since it would just suggest to the user add its own private property to make the whole thing work. This commit is to me the best approach to the problem.
- Loading branch information