You should already be familiar with writing simple classes in PHP. In this course you will learn how extend the use of these classes to reuse code.
What you'll learn
- Inheritance
- Extending a Class
- Using Multiple Classes
- Scope
Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.
You should already be familiar with writing simple classes in PHP. In this course you will learn how extend the use of these classes to reuse code.
In this stage we'll look at how we can inherit from other classes and modify their properties and methods to suit our needs.
Chevron 11 steps3:32
3:03
5 questions
3:13
5:18
3:12
3 objectives
4:27
3:12
7:40
10 questions
Extend the family of classes even farther by adding another child to create a sibling relationship and extending a child to create a grandchild.
Chevron 7 steps4:12
3:18
2 objectives
6:12
1 objective
1:09
5 questions
Get personalized course recommendations, track subjects and courses with reminders, and more.