Object Oriented Programming in PHP , Encapsulation or Data Hiding
https://www.youtube.com/watch?v=35AjG2TehuM
-~-~~-~~~-~~-~-
When we talk about the oops concept Encapsulation is a key feature. Encapsulation Works in two phases. First it ensure that all your data should be bound in a container
Second key phase of encapsulation is that it provide you the security from outside by hiding the information. You can declare data with different visibility.
The accessibility can be public protected or private
This is called information hiding. This is the feature of OOPS Programming.