Allow Entities to receive save updates |
Hi, I like the Entity working with Entities but would really appreciate 2 key improvements:
I might have an improvement on the original request. While working on my project, I realized this all can be addressed in a much simpler way.
Please, change the Model::save($data) method's signature to Model::save(&$data) That way insert and update can remain as they are and users can easily provide the memory updates in derived Model classes. |
Welcome Guest, Not a member yet? Register Sign In |