Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Extending Object-Oriented PHP!
You have completed Extending Object-Oriented PHP!
We can create as many children as we want. We can also add children to those children for an infinite number of generations. Each subsequent generation gaining the attributes and actions of ALL generations before.
Children can only extend ONE parent at a time. Classes can be extended as many times as desired.
Siblings share the same attributes and abilities of the parent, but they do not share any attributes or abilities added in another sibling.
Grandchildren share the attributes and abilities of all parents in the hierarchy.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up