We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be a nice improvement to not have to duplicate the class name in the LazyLoad attribute and return type.
For example:
class ServiceLoader { #[LazyLoad(ContentRepository::class)] public function getContentRepository():ContentRepository { // ... } }
Could become simply:
class ServiceLoader { #[LazyLoad] public function getContentRepository():ContentRepository { // ... } }
The text was updated successfully, but these errors were encountered:
feature: optional LazyLoad parameter
9ba5e6c
closes #23
Successfully merging a pull request may close this issue.
It would be a nice improvement to not have to duplicate the class name in the LazyLoad attribute and return type.
For example:
Could become simply:
The text was updated successfully, but these errors were encountered: