文件
NHCshopro/application/admin/command/Crud/stubs/mixins/modelrelationmethod-hasmany.stub
2026-09-22 13:55:12 +08:00

6 行
172 B
Plaintext

public function {%relationMethod%}s()
{
return $this->{%relationMode%}('{%relationClassName%}', '{%relationForeignKey%}', '{%relationPrimaryKey%}');
}