You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,9 @@ The main one is that SpecificationRepository->match() does not return the result
13
13
14
14
Since I like Doctrine's Paginator object, I wanted to be able to use that in combination with the Specification pattern.
15
15
16
+
__Note:__ In versions prior to 1.2 it was required to extend the SpecificationRepository class. This is no longer needed since we provide a SpecificationRepositoryTrait that you can use instead.
17
+
The class is still provided for backwards compatibility reasons. There is also the SpecificationAwareInterface that you can use if you need it.
18
+
16
19
## Usage
17
20
18
21
Install the latest version with `composer require rikbruil/doctrine-specification`
@@ -59,7 +62,7 @@ $spec = new Specification([
59
62
)
60
63
]);
61
64
62
-
// Note: Advertisement repository is an instance of the SpecificationRepository class
65
+
// Note: Advertisement repository is an instance that uses the SpecificationRepositoryTrait
0 commit comments