What is encapsulation with simple example in php?
Encapsulation is the process of hidding the data of the object from outside world and accessed to it is restricted to members of the class.