Ever have it happen where you search & search and can't find something, but within 5 minutes of asking for help, you find it? Ya - that.
The function is onConstruct(), found here: https://docs.phalcon.io/en/latest/reference/models.html#creating-models
I remember seeing somewhere in the docs (but can't find because the search is useless nudge nudge), that there is a function that gets called whenever a model instance is created.
_initialize() gets called once per class, but I want to run code whenever an object is created from that class.
__construct is exactly what I want, but I also remember reading in the docs that I shouldn't overload that function - there's another function specifically for doing what I want to do.
What is that function?