belongsToMany(Models\CUG::class,'cug_users','user_id','cug_id'); } public function isMemberCUG(CUG $o) { // @todo This doesnt include parent CUGs return $this->cugs->contains($o); } }