/** * Get all the parcels sent by the authenticated user * @return mixed */ public function getUserSentParcels() { return $this->parcel->where('user_id', '=', \Auth::user()->id)->where('parcelPendingStatus', '=', 1); }