Add limit to object groups #3150

This commit is contained in:
James Cole
2020-07-21 06:30:37 +02:00
parent bb841e66c7
commit f777abdeb1
3 changed files with 6 additions and 5 deletions

View File

@@ -39,10 +39,11 @@ interface ObjectGroupRepositoryInterface
/**
* @param string $query
* @param int $limit
*
* @return Collection
*/
public function search(string $query): Collection;
public function search(string $query, int $limit): Collection;
/**
* Delete empty ones.