Skip to content

Commit 14b4d67

Browse files
authored
minor public function to automate postman export functionality
1 parent 86fb19b commit 14b4d67

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Http/Api/Contracts/HasModel.php

+5
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ protected function makeModel(): void
5858

5959
$this->builder = $model->newQuery();
6060
}
61+
62+
public function getPostmanModel(): string
63+
{
64+
return $this->model();
65+
}
6166

6267
/**
6368
* Unguard eloquent model if needed.

0 commit comments

Comments
 (0)