Get a practical, hands-on overview of working with PHP classes and objects, two of the most important functional components of procedural programming.
Overview
Syllabus
Introduction
- Become a successful PHP developer
- What you should know
- Using GitHub Codespaces with this course
- Class definitions
- Try it: Defining a class
- Check it: Defining a class
- Creating class instances
- Try it: Creating an object
- Check it: Creating an object
- Access operators and modifiers
- Try it: Initialize object data and behavior
- Check it: Initialize object data and behavior
- Using constructors
- Try it: Refined object creation
- Check it: Refined object creation
- Inheritance
- Try it: Create a child class
- Check it: Create a child class
- Sharing rules and behaviors
- Try it: Choose your own adventure
- Check it: Choose your own adventure
- Learning more about PHP
Taught by
Tammy Robinson