Overview
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