Skip to content

Commit 46eb1a4

Browse files
authoredOct 2, 2020
Fix referenced pattern name (CodelyTV#204)
1 parent 3cb21f6 commit 46eb1a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ src
107107

108108
#### Repository pattern
109109
Our repositories try to be as simple as possible usually only containing 2 methods `search` and `save`.
110-
If we need some query with more filters we use the `Strategy` pattern also known as `Criteria` pattern. So we add a
110+
If we need some query with more filters we use the `Specification` pattern also known as `Criteria` pattern. So we add a
111111
`searchByCriteria` method.
112112

113113
You can see an example [here](src/Mooc/Courses/Domain/CourseRepository.php)

0 commit comments

Comments
 (0)