module Clear::Model::HasFactory
Direct including types
Defined in:
clear/model/modules/has_factory.crMacro Summary
-
polymorphic(through = "type")
Define a polymorphic factory, if the model is tagged as polymorphic
Macro Detail
macro polymorphic(through = "type")
#
Define a polymorphic factory, if the model is tagged as polymorphic