In the following video, it is explained how magic methods work.
I will cover 11 magic methods. From these 11 methods, two of them are already covered in the following video
See my previous video about Constructors and Destructors
• Constructors and Destructors in PHP - OOP ...
About static methods and static properties:
• Static properties and methods in PHP - OOP...
The rest of the methods:
00:46 - __toString
02:30 - __get and __set
06:21 - __call
12:03 - __callStatic
12:57 - __invoke
15:00 - __sleep and __wakeup
19:16 - __clone
Follow me on social media:
/ thecodeholic
/ thecodeholic
https://github.com/thecodeholic
На этой странице сайта вы можете посмотреть видео онлайн PHP magic methods - OOP in PHP | Part 5 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь The Codeholic 10 Май 2019, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 15,840 раз и оно понравилось 511 зрителям. Приятного просмотра!