modelrelationmethod-hasmany.stub 172 B

12345
  1. public function {%relationMethod%}s()
  2. {
  3. return $this->{%relationMode%}('{%relationClassName%}', '{%relationForeignKey%}', '{%relationPrimaryKey%}');
  4. }