In this OOP PHP tutorial, I will let you know about Interfaces in OOP PHP. Interfaces in PHP are used to group together classes and give them a set of behaviours to follow, which ensures that there is more structure in your classes.
Link to interfaces:
➤ MEET OTHER AWESOME PEOPLE!
FollowAndrew
Channel:
With over 20 years experience, Andrew is creating web & front-end design tutorial videos!
And a special thanks to Derek and Taher Bannour who signed up to my $20 tier on Patreon just because they wanted to see the channel succeed!
➤ GET ACCESS TO MY LESSON MATERIAL HERE!
First of all, thank you for all the support you have given me!
I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!
I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.
I hope you will find it helpful 🙂
Material for this lesson:
Nguồn: https://svdpch.org/
Xem thêm bài viết khác: https://svdpch.org/cong-nghe/
This guy reminds me of Elon Musk but cooler.
YOU
ARE
AMAZING
subscribed!
i scared for the effect
My mind voice : Hey you want to watch theses playlist one more time to understand😁
nonononnooo why you are on the right now?? Stay on the left please.. on the left, on the left, on the left!!!!
Isn't passing a class inside another class called a Dependency Injection?
Great explanation, Thank you
Fantastic explanation.
i was following along great until this video.
that outro gets me every time.
OMG. At last I'm staring to understand interfaces
Please make video on iterators and generators in php and real life use cases, closures in php, also A real life OOP Project like: POS system would be a great help to learn.
your examples are one of the few that actually make sense and click for me, ive watched tons of youtube videos and took alot of online courses and no one comes close to how well you explain things and how well your examples are done and explained
The best example for interfaces on youtube!
i'm new to learn oop, and now i understand how it works by watching your tutorial. thanks a lot sir. hope theres a tutorial for using this oop for a simple website sir.
I like how you corrected your typo amazing editing skills, great tutorial by the way.
You make the programming so easy by the awesoeme explanation thank u so much for the video
interface PaymentInterface { public function paymentProcess(); }
Since the method paymentProceess has a payNow() method call.
Pretty sure he forgot to do that….
You always find ways to make people smile whilst teaching a valuable lesson. That typo fix was simply epic 😁
I feel like I missed somethig considering that you started off the video by describing how complex it is…This video makes it look so easy.
Absolutely great video! Online guides use terrible examples like dogs or cars that has no real life relevance to make it sink in.
I also love the depth you go to, like type hints and what they're about. +1 and subbed!
Best explanation of interfaces. I have tried to understand the use of them for some time. But this made it crystal clear
Great tutorial!!
2:20 you just KNOW he made that typo on purpose lmao.
Thanks man. I was failing in understanding why the hell everybody says Interfaces are so powerful and give flexibility to your code. Yeah, they spit those words but they never tell you why, even worst, they just entangle with a lot of technical jargon speaking about things that implement a dependency of an object and blah blah blah (Which can be specially difficult for me because english is my second language and tutorials in spanish are not always very good). Finally someone explain it in plain words, thanks again. I'm guessing this is not the only thing you can do with Interfaces, but I'll keep reasearching and thanks to you I can understand things better now.
Coming from iOS with Swift, Interface sounds very much like Protocols. Conforming to a protocol means you need to implement the mandatory methods. This seems very very similar
you haven't explained anything, this could work just the same without type declaration and making interfaces