Learn PHP: Objects and Classes

Start

Why Learn PHP: Objects and 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 before completing this course.

Codecademy courses have been taken by employees at

Google LogoFacebook LogoNASA LogoIBM LogoDropbox Logo
  1. 1
    Learn how to make your own classes and initialize objects based on the defined classes.

What you'll create

Portfolio projects that showcase your new skills

Pro Logo

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory

Pro Logo
testimonial

— Madelyn, Pinterest

I know from first-hand experience that you can go in knowing zero, nothing, and just get a grasp on everything as you go and start building right away.

Course Description

Learn how to make your own classes and initialize objects based on the defined classes.

Details

Earn a certificate of completion
2 hours to complete in total
Beginner

Learn how to make your own classes and initialize objects based on the defined classes.