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

5 lines
201 B
Plaintext

public function {%relationMethod%}()
{
return $this->{%relationMode%}('{%relationClassName%}', '{%relationForeignKey%}', '{%relationPrimaryKey%}', [], 'LEFT')->setEagerlyType(0);
}