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

Add getModel to Builder #166

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/Builders/FilterBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -502,4 +502,12 @@ public function onlyTrashed()
$this->wheres['must'][] = ['term' => ['__soft_deleted' => 1]];
});
}

/**
* @return Model
*/
public function getModel()
{
retutn $this->model;
}
}