Laravel hat viele Grenzen
public function posts()
{
return $this->hasMany('App\Models\Post', 'cat_id')->take(4);
}
Tiago F2
public function posts()
{
return $this->hasMany('App\Models\Post', 'cat_id')->take(4);
}