Skip to content

Commit 16018bf

Browse files
committed
Add destroy to repository.model.stub
1 parent f500eb2 commit 16018bf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Console/stubs/repository.model.stub

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,14 @@ class DummyClass extends Repository {
8585
public function delete($id) {
8686
// return $this->repository->findOrFail($id)->delete();
8787
}
88+
89+
/**
90+
* Destroy the models for the given IDs.
91+
*
92+
* @param \Illuminate\Support\Collection|array|int $ids
93+
* @return int
94+
*/
95+
public static function destroy($ids) {
96+
//
97+
}
8898
}

0 commit comments

Comments
 (0)