public function removeRoles(...$roles): self
    {
        $roles = array_flatten($roles);
        $roles = $this->getRoles($roles);

        $this->roles()->detach($roles);

        return $this;
    }
public function removeRoles(...$roles): self
    {
        $roles = array_flatten($roles);
        $roles = $this->getRoles($roles);

        $this->roles()->detach($roles);

        return $this;
    }
public function removeRoles ( ... $ roles ) : self { $ roles = array_flatten ( $ roles ) ; $ roles = $ this -> getRoles ( $ roles ) ; $ this -> roles ( ) -> detach ( $ roles ) ; return $ this ; }
Remove the specified roles from the model.

@param  mixed  $roles,...
@return self
Remove the specified roles from the model .