تقييمات الطلاب
( 5 من 5 )
١ تقييمات
فيديو شرح PHP Classes & Objects - Typed Properties - Constructors & Destructors - Full PHP 8 Tutorial ضمن كورس PHP Native شرح قناة Program With Gio، الفديو رقم 36 مجانى معتمد اونلاين
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-outline
Course Playlist - https://www.youtube.com/playlist?listPLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
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