diff --git a/src/Builders/FilterBuilder.php b/src/Builders/FilterBuilder.php index bca1f8b..8d3d88f 100644 --- a/src/Builders/FilterBuilder.php +++ b/src/Builders/FilterBuilder.php @@ -502,4 +502,12 @@ public function onlyTrashed() $this->wheres['must'][] = ['term' => ['__soft_deleted' => 1]]; }); } + + /** + * @return Model + */ + public function getModel() + { + return $this->model; + } }