I want to write Get method on a model. This method gets a sum of fields in a related table to this model. Before do it, I want to make sure that when I load the model if this function will be executed or only when I make a $model-> property.
I doubt for the performance, because it would be burdensome and is not necessary.
Thank you for making this possible!