ymww_backend/application/admin/command/Crud/stubs/mixins/modelrelationmethod-hasmany...

6 lines
172 B

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