Creating Classes

The first thing we're going to need to know is where do objects come from and how do we create them?

We're going to need something called a Class. This is basically a plan for how your object should be created. Think of the class as PHP's construction manual for the object.

We create the classes and PHP uses those classes to create the objects.

Branch: https://github.com/GaryClarke/learn-oophp/tree/1-creating-classes

Complete and Continue  
Discussion

20 comments