remi-san/specification

Specification pattern classes

Maintainers

Package info

github.com/remi-san/specification

pkg:composer/remi-san/specification

Statistics

Installs: 69 833

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

v1.1.2 2016-03-13 17:33 UTC

This package is auto-updated.

Last update: 2026-02-22 01:45:17 UTC


README

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.