Laravel ma wiele limitów
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);
}