【週刊ドットインストール】 AI開発体験会でつくったものまとめ
return hasMany(Comment::class) ではなく return $this->hasMany(Comment::class) と $this-> がつくのはなぜでしょうか?
return hasMany(Comment::class)
return $this->hasMany(Comment::class)
$this->
この回答を見るにはプレミアムプランへの登録が必要です