PHP OOP Tutorial - Encapsulation

preview_player
Показать описание
Encapsulation refers to protecting the internals of an object from direct manipulation by the client. The client can send messages, but the client cannot directly change the properties in the object. Let's see how to encapsulate an object in PHP.

Рекомендации по теме
Комментарии
Автор

I think you mixed up the encapsulation and abstraction definition

marvinmachitar
visit shbcf.ru