DiverseYouthNightSchool/application/admin/command/Crud/stubs/mixins/modelrelationmethod.stub

5 lines
201 B
Plaintext
Raw Normal View History

2024-11-04 10:49:10 +08:00
public function {%relationMethod%}()
{
return $this->{%relationMode%}('{%relationClassName%}', '{%relationForeignKey%}', '{%relationPrimaryKey%}', [], 'LEFT')->setEagerlyType(0);
}