Back to Browse

PHP Access Modifiers Explained: Public, Private, and Protected l [HINDI] - #5

5.1K views
May 12, 2023
13:48

In PHP, access modifiers are used to control the visibility of properties and methods in a class. There are three types of access modifiers: Public: Public members are visible to all other classes and can be accessed from anywhere, both inside and outside of the class. Protected: Protected members are visible only to the class itself and its subclasses (i.e., classes that extend it). They cannot be accessed from outside the class or its subclasses. Private: Private members are visible only to the class itself. They cannot be accessed from outside the class, not even from its subclasses. PHP Access Modifiers Explained: Public, Private, and Protected l [HINDI] - #5 Our Playlists: OOP In PHP: https://www.youtube.com/playlist?list=PLT51dtioU1pOCka0jIwYYaIGhPct3El_i Git Full Tutorial https://www.youtube.com/playlist?list=PLT51dtioU1pNwl2YZX2ukc04qvozZiRoy Laravel 9: https://www.youtube.com/playlist?list=PLT51dtioU1pMRjcKAxaFzvWu8Sts_UxoC Vue 3 Laravel 9 Tutorial: https://www.youtube.com/playlist?list=PLT51dtioU1pNUZtUhg9pmKpa8JyaCVUXh Laravel Testing: https://www.youtube.com/playlist?list=PLT51dtioU1pMVyvwyPVc-UwdeP2pQYeAU Nuxt Js https://www.youtube.com/playlist?list=PLT51dtioU1pPGuiF-LUncoy4dBlNZQZBR Laravel And Vuejs https://www.youtube.com/playlist?list=PLT51dtioU1pN0mQqQ5RM5nE8uOfzsqml2 Laravel Notifications: https://www.youtube.com/playlist?list=PLT51dtioU1pPaMcBTIvxVcVEnH9X5ynIt Laravel And React Js https://www.youtube.com/playlist?list=PLT51dtioU1pNoJ1C-TJbp13hEw7NmJv6i Laravel Interview Questions And Answers: https://www.youtube.com/playlist?list=PLT51dtioU1pMFovNbZHkHdJEzU5RNJwa2 Laravel User Management System: https://www.youtube.com/playlist?list=PLT51dtioU1pPNxwwo3dWfkUCKI2BXnc_H Laravel Multi Auth System https://www.youtube.com/playlist?list=PLT51dtioU1pPmtFnYQ5WRnYvvL1zW74wl Laravel Vue3 GraphQL https://www.youtube.com/playlist?list=PLT51dtioU1pNpri2F02ydaRMyvjg8uvFg Follow us: YoutTube: https://www.youtube.com/c/Ajayyadavexpo Instagram: https://www.instagram.com/ajayyadavexpo/ Twitter : https://twitter.com/ajayyadavexpo Linkedin: https://www.linkedin.com/in/ajayyadavexpo/ Github: https://github.com/ajayyadavexpo Please subscribe to my channel and share the video with your friends. #oop #php #phpoop #oops #public #protected #private #ajayyadav #ajay

Download

0 formats

No download links available.

PHP Access Modifiers Explained: Public, Private, and Protected l [HINDI] - #5 | NatokHD