PHP OOP: Understanding Interfaces and Implementing Them | PHP OOP Tutorial for Beginner |[Hindi] #10

Sdílet
Vložit
  • čas přidán 27. 05. 2023
  • In this video, you will learn all about PHP interfaces. We'll start by discussing what an interface is and why it's important in object-oriented programming. You will then learn how to define an interface in PHP and how to implement it in your classes. We'll explore the benefits of using interfaces, including improved code reusability, flexibility, and more. You'll also see practical examples of how to use interfaces in your PHP projects. We'll go over some best practices for designing interfaces and how to handle situations where you need to implement multiple interfaces in a single class. By the end of this video, you'll have a clear understanding of interfaces and be able to use them effectively in your PHP projects. Whether you're a beginner or an experienced PHP developer, this video is a great resource for improving your object-oriented programming skills.
    PHP OOP: Understanding Interfaces and Implementing Them | PHP OOP Tutorial for Beginner |[Hindi] #10
    Our Playlists:
    OOP In PHP:
    • OOP - PHP
    Git Full Tutorial
    • GIT Tutorial
    Laravel 9:
    • Laravel 9
    Vue 3 Laravel 9 Tutorial:
    • Vue 3 Laravel 9
    Laravel Testing:
    • Laravel Testing
    Nuxt Js
    • NuxtJS
    Laravel And Vuejs
    • Laravel And Vuejs
    Laravel Notifications:
    • Laravel Notification
    Laravel And React Js
    • Laravel ReactJs
    Laravel Interview Questions And Answers:
    • Laravel Interview Ques...
    Laravel User Management System:
    • Laravel User Managemen...
    Laravel Multi Auth System
    • Laravel Multi Auth System
    Laravel Vue3 GraphQL
    • Laravel Vue 3 GraphQL
    Follow us:
    YoutTube: / ajayyadavexpo
    Instagram: / ajayyadavexpo
    Twitter : / ajayyadavexpo
    Linkedin: / ajayyadavexpo
    Github: github.com/ajayyadavexpo
    Please subscribe to my channel and share the video with your friends.
    #phpoops #oops #oopsphp #phpobject #php #interfaces #phpinterface #ajayyadav

Komentáře • 7

  • @attaroams
    @attaroams Před rokem +1

    amazng man,,,,got the real use of of opps from this chanles,,,

  • @vcodev108
    @vcodev108 Před rokem +1

    Very good explanation, keep continue doing such more useful php oop videos, thanks!

  • @QurbanUllah
    @QurbanUllah Před rokem

    Well explained, it cleared my concept of interfaces.

  • @imalisiddique
    @imalisiddique Před 9 měsíci

    line number 26(is it dependency injection)?

  • @UserThird-le3cj
    @UserThird-le3cj Před měsícem

    Just to let you know the method he made 'function drivecar(CarInterface $cars)' this parameter is known as Type Hinting
    Type Hinting is a way to tell a method that the object which is going to be passed must be from a specific class. Which in this case is CarInterface. '$cars' is just a reference to let the method know that an object is going to be passed, you can use any other name like '$c' or '$a' but the class should have the same name as shown in this example.

    • @ajay-yadav
      @ajay-yadav  Před měsícem

      awesome. thanks for the explanation.

    • @rajbharty9606
      @rajbharty9606 Před 17 dny

      ​@@ajay-yadav sir is any difference we face if we only pass car as object in parameter in function yes then how