https://note.com/dotinstall/n/nc0feca3bda82
return hasMany(Comment::class) ではなく return $this->hasMany(Comment::class) と $this-> がつくのはなぜでしょうか?
return hasMany(Comment::class)
return $this->hasMany(Comment::class)
$this->
この回答を見るにはプレミアムプランへの登録が必要です