mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-28 15:29:12 +02:00
8 lines
289 B
Markdown
8 lines
289 B
Markdown
# Specification
|
|
|
|
## Purpose
|
|
|
|
Builds a clear specification of business rules, where objects can be checked against. The composite specification class has
|
|
one method called `isSatisfiedBy` that returns either true or false depending on whether the given object satisfies the specification.
|
|
|