filmov
tv
#5 OOPs concept in php tamil | What is Encapsulation | how to create getter and setter method in php

Показать описание
Learn about how to create getter and setter method in php | what is encapsulation in php | how to use encapsulation in php | encapsulation in php | what is the use of getter and setter method in php tamil | why we need getter setter method in php | oops concept in php tamil
Encapsulation:
collect all the variables and methods and put into a single unit is called encapsulation.
getter: this method gets the variable name which we have set into the variable
setter: this method used to set the values to particular variable in php.
Getter method is used to get the v
Encapsulation:
collect all the variables and methods and put into a single unit is called encapsulation.
getter: this method gets the variable name which we have set into the variable
setter: this method used to set the values to particular variable in php.
Getter method is used to get the v