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

3.0 - Proxy methods and properties in Table from the Association class #3178

Closed
lorenzo opened this issue Mar 30, 2014 · 2 comments
Closed
Assignees
Milestone

Comments

@lorenzo
Copy link
Member

lorenzo commented Mar 30, 2014

As it is not possible to do $posts->Authors and it returns the association object, it will be needed all methods and properties (other associations) to be proxied directly from the Association class. This will complete the duck typing for the association class and make much more useful to work with.

Only proxy methods that are not already implemented in Association, such as find and save.

@lorenzo lorenzo added this to the 3.0.0 milestone Mar 30, 2014
@markstory
Copy link
Member

Should the property proxies be read only? We have had problems in the past with array properties and proxies.

@lorenzo lorenzo self-assigned this Apr 10, 2014
@markstory
Copy link
Member

Pull request merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants