Define and Implement delete
This commit is contained in:
@ -23,6 +23,7 @@ interface Repository
|
||||
public function save(Model $model): void;
|
||||
public function edit(Model $model, array $data): Model;
|
||||
public function create(array $data): Model;
|
||||
public function delete(Model $model): void;
|
||||
public function fetchById(int $id): Model;
|
||||
public function fetchAll(): array;
|
||||
}
|
||||
|
Reference in New Issue
Block a user