Inheritance for beginners - OOP in PHP | Part 6

preview_player
Показать описание
The following video explains what is inheritance and how to use it in PHP.

Classes, properties and methods:

Class constants:

Follow me on social media:
Рекомендации по теме
Комментарии
Автор

Really good job, especially if you need to learn PHP in a few days, after the fifth video my mind is blowing, but it's pretty common to Java, just need to get used to the syntax, and some major differences.
I hope the guy who will work on the project after me will never know me and where I live.

yuriiyakhnytsia
Автор

Excellent! It is good to refresh language skills! Regards!

NicoILeone
Автор

lol at the full screen face love declaration 😂

GlaucoHass
Автор

8:15 why it is self:: instead of parent:: ???

habibulislam
Автор

Did'm understood the line - parent::__construct($name, $age, $phone)
is it for inheriting parent class constructor function?
thank you!

adilrabid
Автор

Sir you type so damn fast. Can make a video on that? xD do typeracer challenge and share tips on improving speed.

rahilarious
Автор

Hello! Good job your videos, I saw 5 hour php... few days ago and now watch this course :)
2:00 to get private property of course I should create method in Parent class but to get protected property can I create this metod in Child class? Do I understand correctly? Is there small inaccuracy in your video...?:)

SPOKOZE