Skip to content

Commit

Permalink
added info in the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-san committed Mar 13, 2016
1 parent 3f53d7f commit 1270c37
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,13 @@
[![Packagist Version](https://img.shields.io/packagist/v/remi-san/specification.svg?style=flat-square)](https://packagist.org/packages/remi-san/specification)
[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/remi-san/specification.svg?style=flat-square)](https://scrutinizer-ci.com/g/remi-san/specification/code-structure)

A lib to use the specification pattern
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.

0 comments on commit 1270c37

Please sign in to comment.