mobarokhossain / PHP-SOLID-Principles

S.O.L.I.D Principles examples in PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

S.O.L.I.D Principles examples in PHP

Single Responsibility Principle (Example)

A class should have one and only one reason to change, meaning that a class should have only one job.

Open-Closed Principle (Example)

In the open/closed principle classes should be open for extension, but closed for modification. Essentially meaning that classes should be extended to change functionality, rather than being altered.

About

S.O.L.I.D Principles examples in PHP


Languages

Language:PHP 100.0%