/** * {@inheritDoc} */ public function getByIdWith($id, $type) { return $this->user->with($type)->where('id', '=', $id)->first(); }