Coding Style OOP PHP Software Design
Inheritance where Child knows less about Parent Class
Reading Time: 3 minutesIn inheritance, child class extends parent class so child class knows what parent class does and this knowledge creates dependency. If there would be a way where child class ignores the knowledge of what parent class does rather asks what it needs from parent class will be a blessing. Knowing Read more…