public function index($memberId)
    {
        $member = Member::findOrFail($memberId);
        $this->authorize('view', $member);
        /** @noinspection PhpUndefinedMethodInspection */
        $member->load('member_tags');
        return fractal($member->member_tags, new MemberTagTransformer())
            ->withResourceName('memberMemberTag')
            ->respond();
    }
public function index($memberId)
    {
        $member = Member::findOrFail($memberId);
        $this->authorize('view', $member);
        /** @noinspection PhpUndefinedMethodInspection */
        $member->load('member_tags');
        return fractal($member->member_tags, new MemberTagTransformer())
            ->withResourceName('memberMemberTag')
            ->respond();
    }
public function index ( $ memberId ) { $ member = Member :: findOrFail ( $ memberId ) ; $ this -> authorize ( 'view' , $ member ) ; /** @noinspection PhpUndefinedMethodInspection */ $ member -> load ( 'member_tags' ) ; return fractal ( $ member -> member_tags , new MemberTagTransformer ( ) ) -> withResourceName ( 'memberMemberTag' ) -> respond ( ) ; }
Produce a list of MemberTags related to a selected Member

@param $memberId string UUID of Member
@return \Illuminate\Http\Response List of MemberTags
Produce a list of MemberTags related to a selected Member