Save for later

Designing Interfaces in PHP

Heads up! This course may be archived and/or unavailable.

Object-Oriented PHP,

An interface is a type of contract that assures that certain abilities are available on on a particular object class. We'll write and extend multiple interfaces, then implement them to design and match functionality. Interfaces do not store any implementation details themselves. To share implementation details between classes, we harness the power of inheritance. Abstract classes prevent a parent class from being directly instantiated, while at the same time defining methods that MUST be implemented in any extending children.

This course will combine interface contracts with class hierarchy to leverage the benefits of each concept. We'll explain the differences between interfaces and abstract classes, and give you the knowledge you need to build and implement both in your own projects.

What you'll learn
  • Writing an Interface
  • Implementing Interfaces
  • Extending Interfaces
  • Matching Interfaces
  • Abstract Classes
Segments in this Workshop

    Get Details and Enroll Now

    OpenCourser is an affiliate partner of Treehouse and may earn a commission when you buy through our links.

    Get a Reminder

    Send to:
    Rating Not enough ratings
    Length 137-minute PHP Course
    Starts On Demand (Start anytime)
    Cost $25/month (Access to entire library- free trial available)
    From Treehouse
    Instructor Alena Holligan
    Download Videos Only via web browser
    Language English
    Subjects Programming
    Tags PHP

    Get a Reminder

    Send to:

    Similar Courses

    Careers

    An overview of related careers and their average salaries in the US. Bars indicate income percentile.

    Treasury Implementation Coordinator 2 $51k

    Staff Details Writer $52k

    Senior Details Writer $54k

    Implementation Professional $60k

    Implementation Specialist 5 $79k

    Technician / Implementation $82k

    Senior Details Editor $87k

    Implementation and Consulting Analyst $90k

    ERP Implementation Engineer $91k

    Installation and Implementation Engineer $100k

    Implementation Manger $102k

    Control Implementation $102k

    Write a review

    Your opinion matters. Tell us what you think.

    Rating Not enough ratings
    Length 137-minute PHP Course
    Starts On Demand (Start anytime)
    Cost $25/month (Access to entire library- free trial available)
    From Treehouse
    Instructor Alena Holligan
    Download Videos Only via web browser
    Language English
    Subjects Programming
    Tags PHP

    Similar Courses

    Sorted by relevance

    Like this course?

    Here's what to do next:

    • Save this course for later
    • Get more details from the course provider
    • Enroll in this course
    Enroll Now