Specifying Laravel model relationships in one method

后端 未结 0 856
轻奢々
轻奢々 2021-01-02 09:48

Working on a new package.

I\'m trying to do something like this:

public function relationships () {
    return [
        \'owner\' => $this->belo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题