/Solid

This is a set of practices/lessons SOLID using PHP.

Primary LanguagePHP

Conceptual Article

This is a set of practices adopting the first five object-oriented design (OOD) principles.

The sample code contained in this repo will use PHP.

SOLID

Is an acronym for OOD by Robert C. Martin Uncle Bob.

Stands for:

  • S - Single responsibility principle.
  • O - Open closed principle.
  • L - Liskov substitution principle.
  • I - Interface segregation principle.
  • D - Dependency inversion principle.

Switch to folder

All sample will be introduced to each principle individually to understand by folder.

Reference to study