Skip to content

Commit 561213b

Browse files
committed
Merge pull request #3 from equip/feature/count-repository-interface
Add CountRepositoryInterface
2 parents 58f1088 + 79a966e commit 561213b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
namespace Equip\Data\Repository;
4+
5+
interface CountRepositoryInterface
6+
{
7+
/**
8+
* Find record count by variable criteria
9+
*
10+
* @param array $criteria
11+
*
12+
* @return int
13+
*/
14+
public function countBy(array $criteria);
15+
}

0 commit comments

Comments
 (0)