Using Multiple Classes3:13 with Alena Holligan
When using multiple classes, there are several functions in PHP that will allow us to learn about those classes.
- get_class() - Returns the name of the class of an object
- is_a() - Checks if the object is of this class or has this class as one of its parents
- get_object_vars() - Gets the properties of the given object
You could also try some additional class/object functions
You need to sign up for Treehouse in order to download course files.Sign up