These are the functions that we can call before and after doing any task in Models like after finding data, before saving data etc.
For Example : beforeSave(), afterSave(), beforeFind(), afterFind().

Suggest An Answer

No suggestions Available!