---
title: "Comment by Emil Moe on \"A little trick with Eloquent query scopes that makes them super reusable\" | Hashnode"
description: "I admit I was too lazy to read it all at 03.15am, but just before I dig in (and it will also be a reminder to read it tomorrow if I have a notification :)), wha"
url: "https://hashnode.com/posts/a-little-trick-with-eloquent-query-scopes-that-makes-them-super-reusable/5890be485478d2f4f656800e/comment/589144cba9cd4266f9d0bdc8"
---

[Discussion](https://hashnode.com/posts/a-little-trick-with-eloquent-query-scopes-that-makes-them-super-reusable/5890be485478d2f4f656800e)

Comment [A little trick with Eloquent query scopes that makes them super reusable](https://hashnode.com/posts/a-little-trick-with-eloquent-query-scopes-that-makes-them-super-reusable/5890be485478d2f4f656800e)

[Emil Moe](https://hashnode.com/@emilmoe)

[Feb 1, 2017](https://hashnode.com/posts/a-little-trick-with-eloquent-query-scopes-that-makes-them-super-reusable/5890be485478d2f4f656800e/comment/589144cba9cd4266f9d0bdc8)

I admit I was too lazy to read it all at 03.15am, but just before I dig in (and it will also be a reminder to read it tomorrow if I have a notification :)), what is your benefit from `protected static` over the regular `public`?

[Simon Hamp](https://hashnode.com/@simonhamp)

[Feb 1, 2017](https://hashnode.com/posts/a-little-trick-with-eloquent-query-scopes-that-makes-them-super-reusable/5890be485478d2f4f656800e/comment/589144cba9cd4266f9d0bdc8#reply-5891be5280f6cd584cfca63c)

Hopefully, when you read through, you'll see what's happening... we're actually leaving the conventional scope method as it is (`public`), but we're adding a new `protected` instance method (not `static`) and calling that from our scope instead.

This then lets us use the magic methods to access our `protected` method from a static and external context, allowing the 'scope' to be used inside a constrained, eager-loaded relationship subquery.
