Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

Commit 60f024d

Browse files
authored
Add getModel to Builder
Fix not exists getModel method in Builder
1 parent b27f9c3 commit 60f024d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Builders/FilterBuilder.php

+8
Original file line numberDiff line numberDiff line change
@@ -502,4 +502,12 @@ public function onlyTrashed()
502502
$this->wheres['must'][] = ['term' => ['__soft_deleted' => 1]];
503503
});
504504
}
505+
506+
/**
507+
* @return Model
508+
*/
509+
public function getModel()
510+
{
511+
retutn $this->model;
512+
}
505513
}

0 commit comments

Comments
 (0)