Closed tux-rampage closed 5 years ago
@weierophinney It was just an idea and maybe feature creep indeed. I had some idea in correlation with zend-di's auto wire factory, but I don't remeber it anymore tbh. Of course there are better solutions and I might have come up with a better one finally.
Maybe it's better to drop the $options
array for service manager altogether?
Feel free to close if nobody has a need for this use case.
Maybe it's better to drop the
$options
array for service manager altogether?
That's one of the things I'd like to do for zend-servicemanager v4.
I'll close this for now; if you run across the problem you were trying to solve, and find that this is the best way to solve it, re-open and update the PR to detail it. :smile:
This PR allows delegator factories to decorate the
$options
array that is passed to the actual factory.Use case:
[ ] Are you fixing a bug?
master
branch, and submit against that branch.CHANGELOG.md
entry for the fix.[x] Are you creating a new feature?
develop
branch, and submit against that branch.CHANGELOG.md
entry for the new feature.[ ] Is this related to quality assurance?
[ ] Is this related to documentation?