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
Proposal for accessing populated relations #1125
Conversation
fixes yiisoft#842 - allows checking whether a relation has been populated - getting a list of relation names that have been populated - getting all populated relation data todo: - [] add phpdoc
What are the use cases for |
Use case for |
Perhaps it's better to turn |
There is a problem with storing them with lower case name. They should be available as their original methods name in camel case. |
Agree. We can remove |
I'd prefer to have the methods instead of public property as they allow to get overriden and to interact with the process of populating and getting relational data. |
Looks good to me. Thanks. |
Proposal for accessing populated relations
fixes #842
todo: