I need to upcast models to a specific type from a general one. I have a
Markup model and
Tag inherit from this. I want to be able to do call
Markup::find and have it return both Notes and Tags. Sometimes though I will want to only get Notes or Tags with
Note::find to be more specific. I need to detect a field to see which type of model it is before creating it as that.
Does Phalcon support this sort of thing?