14: Abstract Classes in OOP PHP | Abstract Explained | Object Oriented PHP Tutorial | PHP Tutorial

32



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

32 Comments

  1. 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

    Reply
  2. 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.

    Reply
  3. 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❤️

    Reply
  4. 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!!

    Reply
  5. 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

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *