Up next

PHP Classes & Objects - Typed Properties - Constructors & Destructors - Full PHP 8 Tutorial

1 Views· 2024/06/11
baziriza
baziriza
Subscribers
0

In this lesson, you will learn all about classes & objects in PHP. How to create classes & objects, set properties, typed properties, their visibility, create methods, learn about method chaining, what are constructors & destructors & so on. Make sure to watch it till the end since I cover some important things that you should be aware of when working with destructors.

SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
⭐ Become a Patreon: https://www.patreon.com/programwithgio
THANK YOU!

LESSON 2.2
Course Outline - https://github.com/ggelashvili..../learnphptherightway
Course Playlist - https://www.youtube.com/playli....st?list=PLr3d3QYzkw2

CHAPTERS
00:00 - Objects & Classes
00:56 - Creating class & object
02:58 - Class properties
04:43 - Typed properties
07:50 - Class constructor, $this, & constructor arguments
09:54 - Methods
11:34 - Method chaining
13:44 - Creating objects using variables
14:05 - Creating multiple objects of the same class
14:40 - Class destructor
18:05 - stdClass & object casting

Show more

 0 Comments sort   Sort By


Up next