view src/Generator/Model/snippets/has_many_relation.stub @ 42:62953a663acc ls_dev_2025_09

changes for stubs around the base controller and filters, aswell as pagination
author luka
date Thu, 12 Nov 2026 21:17:11 -0500
parents 31109c61ce02
children
line wrap: on
line source

public function {{relationName}}()
{
    return $this->hasMany({{relatedModel}}::class, '{{columnName}}');
}