Object Oriented PHP #8 - Overriding Properties & Methods
Вставка
- Опубліковано 18 вер 2024
- 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:
Course files - github.com/iam...
🐱💻 🐱💻 Other Related Courses:
+ PHP Tutorial for Beginners - • PHP Tutorial for Begin...
The best PHP OOP Tutorial on UA-cam. Great start and let's see how far we'll go :)
Thanks so much :)
Let's go all the way...
@@MrRhysstevens what do you mean?
I have already got myself a job as a developer and a large reason for that was your tutorials. Thx! :)
Wow that's awesome :D Congrats mate :D
@@NetNinja thx Ninja! :)
First, hit "Like". Then "Watch Video". You're changing lives all around the world Shaun-Sama. Best vibes from Colombia!!!
I absolutely loving this series. Very well paced and easy to understand ❤️
I hope you do a Laravel 6 series soon.
This is the BEST OOP tutorial! Super easy to understand and straight forward. Keep teaching and more power! :)
Thank you 😃
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.
can you please build a complete registration system with php oop ? as a practical example
Great one Sensei!! You Rock!!
Awesome series, cheers nn!
Very nice as usual. Can we have a tutorial about how to combine oop with PDO in the context of a database files uploading?
Would be great to see real examples using oop from the beginning to something practical.
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?
Get a job where PHP is required.
sir you are the great
love from PAKISTAN
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.
Hey Shaun can you please also do a video tutorial on advanced product filers?
thank you very much for the videos . . .
which theme you are using in vscode ???
very simple .. thanks alot
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.
make a tutorial series on PHP MVC
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.
}
4:56 spoiler alert: should be protected 😊
Great, you could just do one big video of PHP OOP tho