Autoloading6:23 with Alena Holligan
Instead of including each class file individually, we are going to make use of another great component of Object-Oriented Programming: autoloading. Autoloading is triggered when a class is not found. Before the system throws an error, we can specify a function which will look for the class and automatically include that file when needed.
You need to sign up for Treehouse in order to download course files.Sign up