Re: PHP Classes For Beginners 1. Restricting access to class properties (variable).
2. Restricting access to methods.
3. They support the concept of encapsulation, which promotes the idea of hiding functionality.
4. Access modifiers allow you to define who does or doesn’t have access to certain features in class
__________________ Thanks & Regards, Jegan CBK "We will either find a way, or make one!” |