Blame view

application/admin/command/Crud/stubs/mixins/modelrelationmethod-hasmany.stub 172 Bytes
2db47680   hexiaodong   chore: 初始提交 php 遗...
1
2
3
4
5
  
      public function {%relationMethod%}s()
      {
          return $this->{%relationMode%}('{%relationClassName%}', '{%relationForeignKey%}', '{%relationPrimaryKey%}');
      }