remi-san / specification
Specification pattern classes
Installs: 69 772
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/remi-san/specification
Requires
- php: >=5.3
Requires (Dev)
- fabpot/php-cs-fixer: ^1.10
- henrikbjorn/phpspec-code-coverage: ^2.0
- phpspec/phpspec: ^2.2
- squizlabs/php_codesniffer: ^2.0
This package is auto-updated.
Last update: 2025-10-22 00:56:42 UTC
README
A lib to ease the use the specification pattern.
Your specification classes can extend the AbstractSpecification class which already implement
the following methods from the Specification interface:
andSatisfiesorSatisfiesnot
You'll have to implement the isSatisfiedBy method to add the domain logic.