Skip to content

TzepART/solid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Before

composer install

Example running

php solid_runner SRP

Principles

Name Description
Single-responsibility Principle (SRP) A class should have one and only one reason to change, meaning that a class should have only one job.
Open-closed Principle (OCP) Objects or entities should be open for extension but closed for modification.
Liskov Substitution Principle (LSP) This means that every subclass or derived class should be substitutable for their base or parent class.
Interface Segregation Principle (ISP) A client should never be forced to implement an interface that it doesn’t use, or clients shouldn’t be forced to depend on methods they do not use.
Dependency Inversion Principle (DIP) Entities must depend on abstractions, not on concretions. It states that the high-level module must not depend on the low-level module, but they should depend on abstractions.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages