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

Already on GitHub? Sign in to your account

Delegates the "magic call strategy" on model instance to `data\model\Model`. #744

Merged
merged 1 commit into from Dec 18, 2012

Conversation

Projects
None yet
2 participants
Contributor

jails commented Dec 15, 2012

This PR allows data\model\Model to manage it's own ::__call() strategy. This way it's possible to override how models should manage ::__call on its model instance.

Use case:

  • Delegate calls to some kind of "Behavior" class.
  • Use other kind of closures than the one in data\model\Model::_instanceMethods

@nateabele nateabele added a commit that referenced this pull request Dec 18, 2012

@nateabele nateabele Merge pull request #744 from jails/pr3
Delegates the "magic call strategy" on model instance to `data\model\Model`.
f96a3ca

@nateabele nateabele merged commit f96a3ca into UnionOfRAD:dev Dec 18, 2012

1 check passed

default The Travis build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment