PHP doesn't support generics, but oh... I wish it did. We do, however, have the next best thing: our tooling supports generics! It can be confusing at first, but let me show you the entire workflow.
Watch Full Larabits Series on: https://laracasts.com/bits?teacher=jw...
Watch thousands of videos, track your progress, and participate in a massive Laravel community at Laracasts.com.
Laracasts: https://laracasts.com
Laracasts Twitter: / laracasts
Jeffrey Way Twitter: / jeffrey_way