private function addTrustedMember(Blog $blog, User $user)
    {
        $member = new Member();
        $member->setBlog($blog);
        $member->setUser($user);
        $member->setTrusted(true);

        $this->om->persist($member);
        $this->om->flush();

        return $member;
    }
private function addTrustedMember(Blog $blog, User $user)
    {
        $member = new Member();
        $member->setBlog($blog);
        $member->setUser($user);
        $member->setTrusted(true);

        $this->om->persist($member);
        $this->om->flush();

        return $member;
    }
private function addTrustedMember ( Blog $ blog , User $ user ) { $ member = new Member ( ) ; $ member -> setBlog ( $ blog ) ; $ member -> setUser ( $ user ) ; $ member -> setTrusted ( true ) ; $ this -> om -> persist ( $ member ) ; $ this -> om -> flush ( ) ; return $ member ; }
Add a trusted member to the blog, can write comment without verification from a moderator.

@param Blog $blog
@param User $user

@return Member
Add a trusted member to the blog can write comment without verification from a moderator .