public function detachRoles($roles=null)
    {
        if (!$roles) $roles = $this->roles()->get();

        foreach ($roles as $role) {
            $this->detachRole($role);
        }
    }
public function detachRoles($roles=null)
    {
        if (!$roles) $roles = $this->roles()->get();

        foreach ($roles as $role) {
            $this->detachRole($role);
        }
    }
public function detachRoles ( $ roles = null ) { if ( ! $ roles ) $ roles = $ this -> roles ( ) -> get ( ) ; foreach ( $ roles as $ role ) { $ this -> detachRole ( $ role ) ; } }
Detach multiple roles from a user

@param mixed $roles
Detach multiple roles from a user