Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.37 KB

README.md

File metadata and controls

20 lines (15 loc) · 1.37 KB

specification

Author Build Status Quality Score Software License Packagist Version Coverage Status SensioLabsInsight

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:

  • andSatisfies
  • orSatisfies
  • not

You'll have to implement the isSatisfiedBy method to add the domain logic.