ModelPatterns
$static
This property defines rules that filter models based on name. The key of this object is a static model name and the value is the new model that will be used instead of the initial one.
$regex
This property defines rules that filter models based on regex. The key of this object is a regex and the value is a function that returns the new model that will be used instead of the initial one.
Last updated