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 Designing Interfaces in PHP!
You have completed Designing Interfaces in PHP!
Preview
Extending an Abstract Class
This video doesn't have any notes.
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
We'll name this Pages.php.
0:00
Our class Pages extends the collection.
0:06
[SOUND] This means that we have two
methods that must be implemented.
0:13
The get title method,
from the collection interface and
0:19
the set entity method,
from the collection class.
0:23
Protected function setEntity.
0:27
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