The master branch contains the end result from this lesson:
https://laracasts.com/lessons/the-specification-pattern-in-php
Switch to the "for-db-querying" branch for the follow-up lesson's source...
https://laracasts.com/lessons/the-specification-pattern-in-php-part-2
...where we review how to apply the specification pattern to database queries.