14: Abstract Classes in OOP PHP | Abstract Explained | Object Oriented PHP Tutorial | PHP Tutorial
In this OOP PHP tutorial, I will let you know about abstract classes in OOP PHP. Abstract classes in PHP are used to help us create behavior similarly to interfaces, but they do serve a different purpose as well.
➤ MEET OTHER AWESOME PEOPLE!
FollowAndrew
Channel:
With over 20 years experience, Andrew is creating web & front-end design tutorial videos!
➤ 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:
Tag: abstract class php, php tutorial, mmtuts, php, classes, php classes, php auto load classes, spl_autoload_register, php spl_autoload_register, load classes automatically in php, use classes in php, link to classes in php, object oriented programming, object oriented php, object oriented php tutorial, object oriented php tutorial for beginners, abstract, what are abstract classes in php, abstract php, abstract classes in php, abstract class explained
Xem thêm bài viết eSports: https://sherimoonzombie.net/esports
Nguồn: https://sherimoonzombie.net
Thank you for the effort that you put in making these videos. Your way of clarifying things makes this way easier.
What suppose multiple class I need use abstract class "implement" not required here ?
where are you from?
What about traita
This is the first video that i have seen from you but the way you explain things are one of the best i have seen and i have been watching many of Udemy and youtube courses . Respect, keep on the good work. Subscribed
Hay boy , you are doing great
So, in the MVC design pattern the MODEL class is declared with ABSTRACT? (as it is only extended by VIEW and CONTROL classes and never called by a constructor)
Wow 3 days of school = 1 of your videos, (i need to put more attention to class) but i learn better here.
I just discovered that the order in which classes are included is important. I haven't heard you mention that yet. It took me a few minutes to figure out why I was getting an error, as I had been using a separate header, index, footer page. After reducing it down to what you have here, I still got an error stating that the "Visa class could not be found referenced in BuyProduct". Then I moved the include abstract statement to the top, and voila! It works.
Started watching your videos to learn a few concepts that i was uncertain of. And now im watching all the videos just because I love they way you speak😂😂❤️
But I must appreciate, the explanation is convincing, they way you present the content is awesome. Good luck❤️
Thanks man!
hello mmtuts do you ever know why the extends thing is not working ? when i make a class for example and then make another class and extends from the first class in another file it's giving me an error if i don't include the file of the parent class in the file of the second class>>> without including the file it's not extending any thing!!
PRO TIP: turn the video at x1.25 speed. Thank me later.
You can run most of examples in the windows console using php – f name.php .
love the hat!!! 😀
Which is base class and derives class
Uncaught Error: Class 'visa' not found in C:xampphtdocsoopclassesbuy.abstract.php:4 Stack trace: #0 C:xampphtdocsoopabstrction.php(2): include() #1 {main} thrown in C:xampphtdocsoopclassesbuy.abstract.php on line 4
whts the solution i did the same code only names are diffr
you'd be my favorite teacher. the way you explain stuff is so clear and that's perfect, maybe i couldnt say the same for the examples though. keep up the good stuff anyway.
U very cleverly just touched it but not elaborated with example
Dude you have the great style of coding and fashion both.
Great series of videos dude!
Really helping me out to understand this concepts, thank you so much!
You're videos have been a great help, many thanks!
I think by just listening your explanation like a podcast i will understand what is abstract class is, very clear, thank you
Very precisely elaborated. Would like to see laravel tutorial too. Thank you
Always wandered what the Peaky Blinders are up to these days..
I've watched both your PHP playlists and followed every step – it's really helped me understand PHP on a better level than sites like Codecademy thanks bud!
I would love to see a OOP PHP full site video after the oop tutorial. My morning starts with a coffe and lesson here. Keep it going.
That was an awesome set of videos. I learned a lot from you thank you.
I still get confused as to how an abstract class is any different from a simple extended class.
Could you make tutorial on namespace in PHP?
Thank you so much. Your presentation is extremely perfect. thanks alot for the tutorial. Fly high.
You are great ! please create laravel course.