| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 77.78% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | final class RecordsCounter |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * Get the number of local searchable records of |
||
| 27 | * the given searchable class. |
||
| 28 | * |
||
| 29 | * @param string $searchable |
||
| 30 | * |
||
| 31 | * @return int |
||
| 32 | */ |
||
| 33 | 1 | public function local(string $searchable): int |
|
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Get the number of remote searchable records of |
||
| 50 | * the given searchable class. |
||
| 51 | * |
||
| 52 | * @param string $searchable |
||
| 53 | * |
||
| 54 | * @return int |
||
| 55 | */ |
||
| 56 | 1 | public function remote(string $searchable): int |
|
| 61 |