Magic Methods5:05 with Alena Holligan
Object Oriented PHP offers several "magic methods". The "magic" comes from the fact that they are triggered by an action instead of called directly. We’ll demonstrate the power of several of the magic methods you’ll encounter most often.
- Add more items to the __construct method.
- Add a different Magic Method to your class
You need to sign up for Treehouse in order to download course files.Sign up