Friday , 22 February 2019
Home / Tag Archives: properties and methods

Tag Archives: properties and methods

Properties and Methods – PHP OOP Tutorial

Properties and Methods

Now, that we’ve covered some of the basics about object oriented programming, let’s move onto the next step. We’re going to learn about properties and methods. We’ll learn about what they are and how to use them. Using Properties and Methods Open up your pet.class.php file and update our class to this. [crayon-5c6f7ee340bfe553334855/] We create a variable named petName. We …

Read More »