Object Oriented PHP #8 - Overriding Properties & Methods

preview_player
Показать описание
Hey gang, in this PHP tutorial we'll see how we can override the properties and methods of a sub-class, which are inherited from a parent class.
----------------------------------------

🐱‍💻 🐱‍💻 Course Links:

🐱‍💻 🐱‍💻 Other Related Courses:

Рекомендации по теме
Комментарии
Автор

The best PHP OOP Tutorial on YouTube. Great start and let's see how far we'll go :)

ademineshat
Автор

I have already got myself a job as a developer and a large reason for that was your tutorials. Thx! :)

andreasaasen
Автор

First, hit "Like". Then "Watch Video". You're changing lives all around the world Shaun-Sama. Best vibes from Colombia!!!

JorgeGarcia-efpy
Автор

I absolutely loving this series. Very well paced and easy to understand ❤️
I hope you do a Laravel 6 series soon.

montesajudy
Автор

This is the BEST OOP tutorial! Super easy to understand and straight forward. Keep teaching and more power! :)

rikxmatteo
Автор

I got to say, this is an expertly put together tutorial, covers all the basics and they are explained extremely well for even those like me (dumber :D) to understand.

baholete
Автор

sir you are the great
love from PAKISTAN

azibrasheed
Автор

can you please build a complete registration system with php oop ? as a practical example

mohamedwahman
Автор

Very nice as usual. Can we have a tutorial about how to combine oop with PDO in the context of a database files uploading?

thabetmohd
Автор

Would be great to see real examples using oop from the beginning to something practical.

MrRhysstevens
Автор

I don't get the Notice: undefined property feedback. It just doesn't not display the email, but the rest of the message comes through.

mkb
Автор

I was on interview today. Guy told me that I should learn Python, not PHP. He told that Python is more futuristic and generally more "solid". What is your opinion?

IAMZAMEK
Автор

thank you very much for the videos . . .
which theme you are using in vscode ???

shahadathimel
Автор

Somewhere between 'Tech with Tim' and 'Net Ninja' there is a teaching pace I can deal with. Sigh. Although there seems to be a lot of people who like his pace.

carlfranz
Автор

Hey Shaun can you please also do a video tutorial on advanced product filers?

bikramchettri
Автор

4:56 spoiler alert: should be protected 😊

shuttereffct
Автор

It is too easy.
How to override property type by inherited class?
For example,


class BaseOptions{
public ?string $dbName=null;
}


class SecondOptions
extends BaseOptions
{
public ?string $username=null;
public ?string $userpass=null;
}

class A {
protected BaseOptions $options;
}

class B
extends A
{
protected SecondOptions $options; // Here incompatible type by sintax of PHP. But compatible by interface and inheritance.
}

IvanForData
Автор

Great, you could just do one big video of PHP OOP tho

ProgrammingwithPeter