SOLID Unit Tests

Set of Unit Tests for the previous SOLID Examples post. Single Responsibility Principle (SRP) Open/Closed Principle (OCP) Liskov Substitution Principle (LSP) Interface Segregation Principle (ISP) Dependency Inversion Principle (DIP) Single Responsibility Principle (SRP) Unit tests for the ...

Read More

SOLID Examples

Single Responsibility Principle (SRP) Open/Closed Principle (OCP) Liskov Substitution Principle (LSP) Interface Segregation Principle (ISP) Dependency Inversion Principle (DIP) Single Responsibility Principle (SRP) Suppose you are building a web application that allows users to sign up ...

Read More

SOLID Principles

As a PHP developer, you can benefit from using SOLID principles to write better, more maintainable code. SOLID stands for: Single Responsibility Principle (SRP) Open/Closed Principle (OCP) Liskov Substitution Principle (LSP)Interface ...

Read More