/** * returns the model found * * * @return Collection */ public function findByUser($userId) { return $this->model->whereUserId($userId)->get(); }
/** * returns the model found * * * @return Collection */ public function findByUser($userId) { return $this->model->whereUserId($userId)->get(); }