Added filters for projects

This commit is contained in:
2022-02-16 14:18:56 +01:00
parent ad20678d7a
commit b831de63e4
3 changed files with 19 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ use Illuminate\Support\Collection;
interface ProjectRepository
{
public function all(): Collection;
public function all(array $filters = []): Collection;
public function get(int $id): ProjectResource;
public function update(Project $project, array $data = []): bool;
public function create(array $data = []): Project;