modelrelationmethod-hasmany.stub 172 字节

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