'like', Default Condition "=" ]; /** * Specify Model class name. * * @return string */ public function model() { return UserAddress::class; } /** * Boot up the repository, pushing criteria. * * @throws \Prettus\Repository\Exceptions\RepositoryException */ public function boot() { $this->pushCriteria(app(RequestCriteria::class)); } /** * @return mixed */ public function searchListsPage() { return $this->paginate(request('per_page', 15)); } /** * @param $id * * @return mixed */ public function searchBy($id) { return $this->find($id); } }