We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73b2ba9 commit 645e6e1Copy full SHA for 645e6e1
Specification/AbstractSpecification.php
@@ -13,9 +13,7 @@ abstract class AbstractSpecification implements SpecificationInterface
13
*
14
* @return bool
15
*/
16
- public function isSatisfiedBy(Item $item)
17
- {
18
- }
+ abstract public function isSatisfiedBy(Item $item);
19
20
/**
21
* Creates a new logical AND specification
Specification/README.md
@@ -0,0 +1,7 @@
1
+# Specification
2
+
3
+## Purpose
4
5
+Builds a clear specification of business rules, where objects can be checked against. The composite specification class has
6
+one method called `isSatisfiedBy` that returns either true or false depending on whether the given object satisfies the specification.
7
0 commit comments