title: How can I skip n items from laravel eloquent collection?
body: <p>Why this is not working?</p>
  
  <pre><code>$myFriends =Friend::where('status',1)-&gt;pluck('user_id');
  $users = User::Where('active',1)-&gt;WhereNotIn('id',$myFriends)-&gt;get();     
  $users =$users-&gt;skip(2)-&gt;take(3);
  </code></pre>
  
  <blockquote>
    <blockquote>
      <p>it gives following error</p>
    </blockquote>
  
  <pre><code>BadMethodCallException in Macroable.php line 74:
  Method Skip does not exist.
  </code></pre>
  </blockquote>