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

Codecademy

Learn PHP: Objects and Classes

via Codecademy

Overview

Learn how to make your own classes and initialize objects based on the defined classes.
Continue your PHP learning journey! Programmers use object-oriented programming (OOP) to model elements of the real world. Learn how to make your own classes and initialize objects based on the defined classes.



### Take-Away Skills
By the end of this course, you will be able to:
* Describe the concept of object-oriented programming.
* Define classes and initialize objects.
* Access and update object properties using getter and setter methods.

### Notes on Prerequisites
We recommend that you complete [Learn PHP: Arrays and Loops](https://www.codecademy.com/learn/learn-php-arrays-and-loops) before completing this course.

Syllabus

  • PHP Objects and Classes: Learn how to make your own classes and initialize objects based on the defined classes.
    • VideoContentItem: Classes and Objects
    • Lesson: Classes and Objects
    • Quiz: Classes and Objects
    • Project: Going to Bed
    • Informational: Next Steps

Taught by

Alex DiStasi

Reviews

4.5 rating at Codecademy based on 184 ratings

Start your review of Learn PHP: Objects and Classes

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.