remi-san / specification
Specification pattern classes
v1.1.2
2016-03-13 17:33 UTC
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: 2026-02-22 01:45:17 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.