We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Phalcon models cloneResult() and cloneResultMaps() please elaborate?

Hi, Im new in phalcon and have a good knowlegde when it comes to OOP, though there are some things I would like to understand more on the process cloneResult() and cloneResultMaps() on how it will affect this on my Model? and what are the other parameters such as:

  1. keepSnapshot -> what snapshot it will take and how it will help me for future reference.
  2. dryState -> what does this mean?

I want to know more on using the Getters and Setters for models. Thank you for your reply.



Can anyone please explain how cloneResult() and cloneResultMaps() work and what they're for?