public function removeLogin($login)
    {
        if (isset($this->logins[$login])) {
            unset($this->logins[$login]);

            $this->dispatcher->dispatch(self::EVENT_REMOVE_USER, [$this, $login]);
        }

        if (!$this->isPersistent() && empty($this->logins)) {
            $this->dispatcher->dispatch(self::EVENT_DESTROY, [$this, $login]);
        }
    }
public function removeLogin($login)
    {
        if (isset($this->logins[$login])) {
            unset($this->logins[$login]);

            $this->dispatcher->dispatch(self::EVENT_REMOVE_USER, [$this, $login]);
        }

        if (!$this->isPersistent() && empty($this->logins)) {
            $this->dispatcher->dispatch(self::EVENT_DESTROY, [$this, $login]);
        }
    }
public function removeLogin ( $ login ) { if ( isset ( $ this -> logins [ $ login ] ) ) { unset ( $ this -> logins [ $ login ] ) ; $ this -> dispatcher -> dispatch ( self :: EVENT_REMOVE_USER , [ $ this , $ login ] ) ; } if ( ! $ this -> isPersistent ( ) && empty ( $ this -> logins ) ) { $ this -> dispatcher -> dispatch ( self :: EVENT_DESTROY , [ $ this , $ login ] ) ; } }
Remove user from the group.

@param $login
Remove user from the group .