Computer Programming
266 learners
Object-Oriented Programming with PHP
Discover the power of Object-Oriented Programming (OOP) in PHP through practical, easy-to-understand examples. This course guides you from creating simple classes and objects to mastering advanced OOP techniques like encapsulation, getters and setters, and method overriding. Whether you're a beginner or looking to refine your skills, this course offers a comprehensive path to learn OOP in PHP.
PHP
6 lessons
30 practices
2 hours
Computer Science Fundamentals
Lessons and practices
Run to Define Your First Class
Update Class and Object Names
Fix the Class Declaration
Complete the Missing Class Code
Define and Inspect a Class
Power Up with Attributes and Methods
Modify the Method
Fix the Spacecraft Launch Code
Complete the Spacecraft Class
Building the Spacecraft Class
Managing Spacecraft Properties
Refactor for Secret Code Access
Fixing Visibility Bugs in PHP
Managing Access with Getters and Setters
Create a Secure Spacecraft Class
Running Constructors in PHP
Set Default Values in Constructors
Fix the Spacecraft Constructor
Add a Constructor to Spacecraft
Build a Robot Class
Understanding Inheritance in PHP
Preventing Inheritance with final Keyword
Fix the Inheritance Bug
Complete the Rocket Class
Building the CargoShip Class
Method Overriding in Action
Prevent Method Overriding in PHP
Fixing Visibility in Method Overriding
Add Missing Parts for Shuttle
Master Method Overriding in PHP
Meet Cosmo:
The smartest AI guide in the universe
Our built-in AI guide and tutor, Cosmo, prompts you with challenges that are built just for you and unblocks you when you get stuck.

Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal