Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Revisiting OOP Concepts in PHP

via CodeSignal

Overview

Essential OOP concepts in PHP are crucial for building robust, scalable, and maintainable software systems. This course revisits key OOP principles, such as encapsulation, inheritance, polymorphism, and abstraction, and demonstrates their practical application in PHP programming.

Syllabus

  • Unit 1: Classes and Objects in PHP
    • Modify Musician Class to Include Years Active
    • Complete the Definition of the Film Class in PHP
    • Adding a Constructor and Copy Cloning in PHP
    • Implementing a Person Class in PHP
  • Unit 2: Introduction to Encapsulation in PHP
    • Changing Class Attributes to Private with Getters and Setters in PHP
    • Superhero Encapsulation Exercise
    • Adding and Validating Price in Gadget Class
  • Unit 3: Inheritance in PHP
    • Include University Information in Student Class
    • Identify and Fix Inheritance Bug in PHP Code
    • Modify Employee Class to Include EmployeeID
    • GraduateStudent Class Extension in PHP
    • Creating a Class Hierarchy with Inheritance in PHP
  • Unit 4: Introduction to Polymorphism in PHP
    • Add Method and Override in Inheritance Classes
    • Enhancing Debugging Skills with Class Inheritance in PHP
    • Creating a Researcher Class in PHP Using Polymorphism
    • Practice Polymorphism with PHP Class Hierarchy
    • Polymorphism with Device Classes in PHP
  • Unit 5: Understanding Abstract Classes and Abstract Methods
    • Enhancing Shape Classes with Description Method
    • Fixing the Abstract Shape Class in PHP
    • Adding a Triangle Class to Demonstrate Polymorphism in PHP
    • Implementing Interfaces for Home Appliances in PHP

Reviews

Start your review of Revisiting OOP Concepts in PHP

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.