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

YouTube

Learn Object Oriented PHP - Programming Course

Gary Clarke via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This beginner course introduces object-oriented PHP, covering classes, properties, methods, constructors, type declarations, inheritance, visibility, encapsulation, static members, and abstract classes.

Syllabus

Introduction to object oriented PHP
What are objects?
Creating classes
Class properties
Class methods
Method arguments
Named arguments
Constructors
Constructor promoted properties
Type hinting
Class type declarations
Return type declarations
Introduction to inheritance
Redundancy and duplication
The 'extends' keyword
Inheritance and constructors
Inheritance challenge
Overriding parent methods
Introduction to visibility
Protected properties
Private properties
Method visibility
Encapsulation
Typed properties
Union types
Static properties
Static methods
Class constants
Abstract classes
Abstract methods

Taught by

Gary Clarke

Reviews

Start your review of Learn Object Oriented PHP - Programming Course

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.