Roots Discourse

Namespacing and Autoloading

Originally published at: https://roots.io/namespacing-and-autoloading/

What Is Namespacing? Maybe you’ve opened up a file and seen namespace App up at the top. Maybe you’ve run into a function or class call that Looks\Like\this(). Or maybe you’ve started using Composers in Sage 10 and you’re wondering how the magic of associating them by class name with partials works (and if you…

6 Likes