Implementation for base Specification pattern classes
composer require brezgalov/php-specification-pattern dev-master
- Extend AbstractSpecification class
- Implement isSatisfiedBy method as you wish to
- Feel free to use logical methods to combine your specifications