Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy services and service factories #323

Merged
merged 2 commits into from
May 11, 2020

Conversation

goetas
Copy link
Member

@goetas goetas commented May 9, 2020

  • Services passed to the DependencyFactory are always lazy
  • Services passed to the DependencyFactory can be build via callables, allowing to fetch other dependencies from the DependencyFactory itself

@goetas goetas force-pushed the service-definition branch from ce43581 to 5435638 Compare May 11, 2020 04:58
@goetas goetas requested a review from greg0ire May 11, 2020 05:33
@goetas goetas merged commit 6c16298 into doctrine:master May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants